我在 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)
我想丢弃 3 个本地提交,并在 origin/master 处拉取 8 个远程提交。
(合并太难了,我宁愿在 master 更新后再次进行 3 次本地提交。)
我怎样才能做到这一点?