Reputation: 13726
Im currently using git repository. Unable to push my files to the remote repository.
It says "Discard Changes - Cannot unlock" for C:/somelocation/.git/index.
No other details to figure out the problem.
Even tried to reset.
git reset
But gives the below error.
An internal error occurred during: "Resetting to refs/heads/develop". Exception caught during execution of reset command. {0}
Upvotes: 0
Views: 2473
Reputation: 61083
Try deleting C:/somelocation/.git/index.lock
. More on that
You may then need to do a reset:
git reset
Upvotes: 5