your branch is ahead of master by 2 commits: how to discard commits Frank同志68687 2020-04-23 127 阅读1分钟 git reset --hard HEAD~2