Git master branch has no upstream branch

前端 未结 10 765
北荒
北荒 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:17

    You need to configure the remote first, then push.

    git remote add origin url-to-your-repo

    instructions

提交回复
热议问题