Concept

Fast-forward merge

Advance the current branch to a descendant without creating a merge commit. Refuses a divergent integration.

Formal Syntax & Structure

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

Working Example

Example Snippetgit
git merge --ff-only feature
Git Reference