Digvijay
Digvijay

Reputation: 3281

Error on add project to github from android studio

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

Upvotes: 1

Views: 370

Answers (1)

VonC
VonC

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

Related Questions