---
title: Fast forwarding
tags: git,notes
---

"fast forward" means to update the HEAD pointer in such a way that its new value is a direct descendant of the prior value.
Fast forward can be done through merge:
1. `git pull --ff-only` pull and merge fast-forward option
2. `merge --ff-only` merge only by fast forwarding