最佳答案
我在 git 中有以下信息:
# Your branch and 'origin/master' have diverged,
# and have 3 and 8 different commits each, respectively.
# (use "git pull" to merge the remote branch into yours)
I would like to throw away the 3 local commits, and pull the 8 remote commits at origin/master.
(合并将会非常困难,我宁愿在 master 更新之后再次进行3本地提交。)
我怎么能这么做?