After seeing the following from the command line:
# On branch RB_3.0.10
# Changed but not updated:
# (use \"git add ...\" to update what will b
I was working on a libGDX project on Android Studio and I wanted to discard all the changes that I have done, and nothing was working for me, the solution I came up with was to commit all the changes into a new branch
git checkout -b TRASH
git add .
git commit -m "discarded changes"
git checkout master
and then you can delete the TRASH branch if you want.