Also called: git pull, git fetch, fast-forward
In plain English
--ff-only refuses to create a merge commit, so you notice when your copy and the remote have both changed.
Example
Pull before you start working, so you have your colleague's latest changes.
In code
git fetch origin
git pull --ff-only
Learn more
Related terms
Added 2026-11-30 · Last reviewed 2026-11-30