Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 421 Bytes

Readme.md

File metadata and controls

9 lines (6 loc) · 421 Bytes

git merge

Git有两种合并:一种是"直进式合并"(fast forward),不生成单独的合并节点;另一种是"非直进式合并"(none fast-forword),会生成单独节点。

前者不利于保持commit信息的清晰,也不利于以后的回滚,建议总是采用后者(即使用--no-ff参数)。只要发生合并,就要有一个单独的合并节点。

git merge参数