Git rename from index.lock to index failed

前端 未结 16 2033
遇见更好的自我
遇见更好的自我 2020-11-30 06:42

Using the GitHub Windows client I did a sync to pull remote changes to my local machine, but before finishing the sync, I ran out of disk space and the sync failed.

16条回答
  •  北海茫月
    2020-11-30 06:48

    Looks like the following process had a lock on the .git\index file:

    ssh-agent.exe
    C:\Users\Tom\AppData\Local\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7\bin\ssh-agent.exe
    

    I killed the process and ran git reset HEAD and looks like I'm back to normal now.

提交回复
热议问题