1

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:

enter image description here

Someone please let me know why this error is showing.Any help would be appreciated.

THANKS

Digvijay
  • 2,887
  • 3
  • 36
  • 86

1 Answers1

1

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.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250