Fast-forward vs No-fast-forward
About
What Is a Fast-Forward Merge ?
Visual Before Merge
main: A -- B -- C
\
(feature): D -- EAfter Fast-Forward Merge
main: A -- B -- C -- D -- ECommand
git checkout main
git merge featureWhat Is a No-Fast-Forward Merge ?
Visual Before
Command:
Settings to Enforce Behavior
Always do no-fast-forward merges:
Last updated