Reputation: 3281
I have android project hosted on github after making some changes in code when I am trying to add code to github from android studio it is showing something like this:
Someone please let me know why this error is showing.Any help would be appreciated.
THANKS
Upvotes: 1
Views: 370
Reputation: 1329092
You can open a terminal within your Android Studio session, and see if one of the solutions of "How to resolve “Error: bad index – Fatal: index file corrupt
” when using Git" applies.
Typically, try first to remove the index
file in the .git/
subfolder of your local Git repository.
Followed by a git reset
.
Upvotes: 1