Git master branch has no upstream branch

前端 未结 10 757
北荒
北荒 2021-01-30 16:53

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

fatal: The current branch master has no upstream branch.

I\'ve

10条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-30 17:03

    In case someone is still running into this issue, this command solved it for me

    git push --set-upstream origin master
    

提交回复
热议问题