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

后端 未结 24 1466
礼貌的吻别
礼貌的吻别 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:44

    In my case after getting this message I did the checkout command and was given this message:

    Your branch is based on 'origin/myBranch', but the upstream is gone.
      (use "git branch --unset-upstream" to fixup)
    

    After running this command I was back to normal.

提交回复
热议问题