今天在提交代码到gerrit中遇到的问题

今天在提交代码过程中出现了Your branch is ahead of 'origin/master' by 2 commits.提示,代码无法提交成功,

此时需要git reset --hard origin/master回退到上一次版本

猜你喜欢

转载自www.cnblogs.com/shuai-ran/p/9700177.html