pull-only repo's 'git status' saying the branch is ahead of origin/master. Why?

后端 未结 5 1655
别跟我提以往
别跟我提以往 2020-12-10 12:01

So here\'s the situation:

$ git status
# On branch master
# Your branch is ahead of \'origin/master\' by [x] commits.
#

5条回答
  •  天命终不由人
    2020-12-10 12:52

    If you run a git pull origin instead of a git pull origin master, there won't be the issue with the Your branch is ahead of 'origin/master' by ... commits. message.

提交回复
热议问题