2011-06-12 @ taobao
对于本地频繁commit后, 提交gerrit进行code review会出现一个太过细节现象, 尤其是一些代码的反复修改其实可以不用展现出来.
可以通过以下笨办法来合并所有的本地commits:
git pull update
git checkout -b fix-xxx
git commit -am "fix xxx"
git chekcout master
git merge --squash fix-xxx
git commit -am "fix xxx"
git push update