Your branch is ahead of 'origin/master' by 1 commit

后端 未结 4 1821
别跟我提以往
别跟我提以往 2021-01-28 13:37

I\'m a little new to Git, and I\'m hoping somebody can explain what this message means exactly, in my scenario.

To give you some background information, this is what I\'

4条回答
  •  一向
    一向 (楼主)
    2021-01-28 14:11

    Looks like you have set the current branch's remote tracking branch to origin/master and you have something in the branch which is not there in the origin/master branch.

    You can verify the remote tracking branch by running,

    git branch -vv
    

    Once done, you can check the commits which are not in the remote branch by,

    git cherry -v origin/master
    

    Or if you want to see the difference, just run,

    git diff origin/master
    

提交回复
热议问题