Git Checkout warning: unable to unlink files, permission denied

后端 未结 26 1213
梦毁少年i
梦毁少年i 2020-12-04 08:46

I am aware that there are similar issues about git relating to the \'unable to unlink\' warning, but I have not been able to use them.

The main difference is that th

26条回答
  •  青春惊慌失措
    2020-12-04 09:15

    None of the other suggestions worked for me, but this did:

    sudo git reflog expire --expire=now --all && sudo git gc --prune=now --aggressive

提交回复
热议问题