There is no tracking information for the current branch

后端 未结 13 2708
无人及你
无人及你 2020-11-27 23:59

I\'ve been using github from a relatively short period, and I\'ve always used the client to perform commits and pulls. I decided to try it from the git bash yesterday, and I

13条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 00:41

    This happens due to current branch has no tracking on the branch on the remote. so you can do it with 2 ways.

    1. Pull with specific branch name

    git pull origin master

    1. Or you can specific branch to track to the local branch.

    git branch --set-upstream-to=origin/

提交回复
热议问题