dima dima - 1 month ago 6
Git Question

Can't commit changes after computer crashed

When I worked in unity3d, my computer crashed and reloaded. And now I can't commit file of the scene. I can't delete it, because it is important file. How can I fix this? Only with reset hard?

enter image description here

Answer

Remove que file index.lock and try again