From 34c8b016ad8f5c7a4662a442f4018058083aafb7 Mon Sep 17 00:00:00 2001 From: alefir Date: Thu, 15 Dec 2016 01:59:11 -0800 Subject: [PATCH] git-cherry-pick: add page (#1196) --- pages/common/git-cherry-pick.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/common/git-cherry-pick.md diff --git a/pages/common/git-cherry-pick.md b/pages/common/git-cherry-pick.md new file mode 100644 index 000000000..c05162fde --- /dev/null +++ b/pages/common/git-cherry-pick.md @@ -0,0 +1,8 @@ +# git cherry-pick + +> Apply the changes introduced by some existing commits to the current branch. +> To apply changes to another branch, first use git-checkout to switch to the desired branch. + +- Apply commit to current branch: + +`git cherry-pick {{commit_hash}}`