团队开发里频繁使用 git rebase 来保持树的整洁好吗?
巴扎黑
巴扎黑 2017-04-25 09:02:57
0
11
1844

用了以后, 树可以非常清晰, 某种程度上便于追踪, 但是 push --force 就多多了,
不用呢, 合并没有远程仓库被修改的麻烦, 可是追踪又不清晰...

怎样取舍? 团队里一般怎么取舍?

巴扎黑
巴扎黑

reply all(11)
刘奇

Once the submission object in the branch is published to the public warehouse, never rebase the branch.
If you follow this golden rule, nothing can go wrong. Otherwise, the people will hate you, and your friends and family will laugh at you and spurn you.

Risk of rebase

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template