Cheatsheet Pages / Git Cheatsheet

How to copy one commit onto your branch — git cherry-pick

One commit on another branch is exactly what you need, without merging the whole branch.

git cherry-pick <commit-sha>   # apply that commit here

Good to know

Copy one specific commit (by SHA) from anywhere onto your current branch.

Git Cheatsheet one-page card — 30 daily and rescue commands
The full one-page card — Git Cheatsheet. Get the complete cheatsheet on GitHub