Git and nasty “error: cannot lock existing info/refs fatal”

后端 未结 24 1443
礼貌的吻别
礼貌的吻别 2020-11-30 15:58

After cloning from remote git repository (at bettercodes) I made some changes, commited and tried to push:

git push origin master

Errors

24条回答
  •  攒了一身酷
    2020-11-30 16:43

    You want to try doing:

    git gc --prune=now
    

    See https://www.kernel.org/pub/software/scm/git/docs/git-gc.html

提交回复
热议问题