Concept

Three-way merge

Combine changes using a merge base and the two tips. A normal completed two-branch non-fast-forward merge records two parents.

Formal Syntax & Structure

git syntaxgit
git merge --no-ff <branch>

Working Example

Example Snippetgit
git merge --no-ff -m "Merge feature" feature
Git Reference