Git cannot lock ref 'HEAD': unable to resolve reference HEAD

后端 未结 10 1475
情深已故
情深已故 2020-12-15 16:57

I\'m trying to commit the changes to my repository but I receive the error below:

git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\\U         


        
10条回答
  •  北海茫月
    2020-12-15 17:32

    Worked for me, into terminal enter: (branch accordingly to your desires lul)

    echo ref: refs/heads/master >.git/HEAD
    

提交回复
热议问题