Your branch is ahead of 'origin/master' by 21 commits.

 

问题原因:

因为你修改了 local master 本地的主分支,可以选择以下方法之一:

保持本地 master 的内容,使用 git push origin,将本地的修改直接提交到远程

或者删除本地分支所有修改,同步远程 master 到本地,使用 git reset --hard origin/master

 

参考链接:

https://stackoverflow.com/questions/16288176/your-branch-is-ahead-of-origin-master-by-3-commits

 

相关文章:

  • 2021-06-18
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2021-11-11
猜你喜欢
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
  • 2021-06-11
相关资源
相似解决方案