Github 新出的squash 功能可以使主仓的log 更加干净,但是有个恶心的情况:
- fetch
company/master -> my/master -> my/dev
- devlop
my/dev (10 commit) --> squash --> company/master (1 commit)
- modify
my/dev (11 commit)
- merge
company/master -> my/dev ==> conflict
暂时解决方法是要求
- 每次动手前都要拉代码
- 每次改动都去开新分支