fatal: The current branch master has no upstream branch

后端 未结 23 2252
误落风尘
误落风尘 2020-11-30 16:46

I\'m trying to push one of my projects to github, and I keep getting this error:

peeplesoft@jane3:~/846156 (master) $ git push

fatal: The current branch mas         


        
23条回答
  •  庸人自扰
    2020-11-30 16:54

    For me, it was because I had deleted the hidden .git folder.

    I fixed it by deleting the folder, re-cloning, and re-making the changes.

提交回复
热议问题