GIT-CHERRY(1) Git Manual GIT-CHERRY(1) (NAME) git-cherry - (SYNOPSIS) git cherry [-v] [ [ []]] (DESCRIPTION) .. .. . (diff) . git-cherry git-cherry-pick(1) git-am(1) git-rebase(1) . SHA1 .. - + . (OPTIONS) -v (subject) SHA1. (upstream) . HEAD . HEAD . ( ) limit. (EXAMPLES) (Patch workflows) git-cherry (patch) ( gitworkflows(7) ) . (topic branch) : $ git checkout -b topic origin/master # $ git format-patch origin/master $ git send-email ... 00* ( topic): $ git fetch # origin/master $ git cherry -v topic : $ git log --graph --oneline --decorate --boundary origin/master...topic * 7654321 (origin/master) upstream tip commit [... ...] * cccc111 cherry-pick of C * aaaa111 cherry-pick of A [... ...] | * cccc000 (topic) commit C | * bbbb000 commit B | * aaaa000 commit A |/ o 1234567 branch point git-cherry : $ git cherry origin/master topic - cccc000... commit C + bbbb000... commit B - aaaa000... commit A A C ( -) origin/master topic B ( +) origin/master . (limit) topic . : $ git log --graph --oneline --decorate --boundary origin/master...topic * 7654321 (origin/master) upstream tip commit [... ...] * cccc111 cherry-pick of C * aaaa111 cherry-pick of A [... ...] | * cccc000 (topic) commit C | * bbbb000 commit B | * aaaa000 commit A | * 0000fff (base) unpublished stuff F [... ...] | * 0000aaa unpublished stuff A |/ o 1234567 merge-base between upstream and topic base limit base topic : $ git cherry origin/master topic base - cccc000... commit C + bbbb000... commit B - aaaa000... commit A (SEE ALSO) git-patch-id(1) (GIT) git(1) Git 2.55.0 2026-06-29 GIT-CHERRY(1)