Git rename from index.lock to index failed

前端 未结 16 2002
遇见更好的自我
遇见更好的自我 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 07:05

    It can be a real issue, try to run your Terminal as Administrator instead of user. Worked for me

    0 讨论(0)
  • 2020-11-30 07:05

    I removed index and index.lock (in the .git folder) and ran git checkout . to undo the changes and resolved, but if I wanted to commit the changes I would have run git add -A after git commit -m "description"

    0 讨论(0)
  • 2020-11-30 07:08

    git init resolved my problem. I was getting below issue.

    Rename from '.git/objects/pack/pack-XXXXX.pack' to '.git/objects/pack/old-XXXXX.pack' failed. Should I try again? (y/n)

    0 讨论(0)
  • 2020-11-30 07:12

    I'm using Tortoise Git. I just opened a new Windows Explorer and it fixed this. (For command line Git maybe just open a new shell).

    0 讨论(0)
提交回复
热议问题