From 6a1742984c1ed47b1c5d0293a1fb8fa2c63150e5 Mon Sep 17 00:00:00 2001 From: rahul Date: Sun, 28 Aug 2016 08:24:02 +0530 Subject: [PATCH] Add cheery-pick to git cheat --- cheat/cheatsheets/git | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cheat/cheatsheets/git b/cheat/cheatsheets/git index 5b809cb..56a8ab7 100644 --- a/cheat/cheatsheets/git +++ b/cheat/cheatsheets/git @@ -145,3 +145,7 @@ git checkout -p HEAD^ -- /path/to/file # Revert a commit and keep the history of the reverted change as a separate revert commit git revert + +# Pich a commit from a branch to current branch. This is different than merge as +# this just applies a single commit from a branch to current branch +git cherry-pick