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

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

    Before pull you need to clean your local changes. following command help me to solve.

    git remote prune origin
    

    and then after

    git pull origin develop
    

    Hopes this helps!

提交回复
热议问题