瀏覽代碼

git-cherry-pick: add page (#1196)

alefir 8 年之前
父節點
當前提交
34c8b016ad
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      pages/common/git-cherry-pick.md

+ 8 - 0
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}}`