Skip to content

Instantly share code, notes, and snippets.

View pifabs's full-sized avatar

pifabs

View GitHub Profile

Git Merge To FF Or Not To FF

Created May 13, 2020

Intro

In git merge there are several ways to merge branches however, the most commonly used options are --ff-only and --no-ff. The --ff-only option will resolve the merge as a fast-forward when possible. When not possible, it refuses to merge and will exit with a non-zero status. Best examples used by this options are branches from features and hotfixes.

Merge develop to master