git rebase
Cannot rebase: You have unstaged changes.
git stash # 每次 push 前
git pull --rebase
git push origin HEAD:refs/for/master # gerrit review
git pull
git stash pop
参考:https://blog.csdn.net/yuzx2008/article/details/50863939
git rebase
Cannot rebase: You have unstaged changes.
git stash # 每次 push 前
git pull --rebase
git push origin HEAD:refs/for/master # gerrit review
git pull
git stash pop
参考:https://blog.csdn.net/yuzx2008/article/details/50863939