今天在提交代码过程中出现了Your branch is ahead of 'origin/master' by 2 commits.提示,代码无法提交成功,
此时需要git reset --hard origin/master回退到上一次版本