📜  git merge vs git merge --no-ff - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:24.078000             🧑  作者: Mango

代码示例1
By default git merge tries to execute a "fast-forward".
- default: Simply moves commits and shifts head of master to the front.
- --no-ff: Creates a merge commit instead.

--no-ff can be desirable if you want git to maintain a history of 
feature branches.