diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-05-17 15:02:21 -0400 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-05-17 15:02:21 -0400 |
commit | 09379a60e88148da28a4c03750b1b3b5aa8b596a (patch) | |
tree | 3adf602614d866f892d1eb1559f5879e837904a8 | |
parent | 101f2261f095470fccd4d775b0dde517e58de287 (diff) |
Add note on how to cherry-pick in git
-rw-r--r-- | git/git-cheatsheet.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/git/git-cheatsheet.txt b/git/git-cheatsheet.txt index a6be949..248775b 100644 --- a/git/git-cheatsheet.txt +++ b/git/git-cheatsheet.txt @@ -16,6 +16,13 @@ Revert uncommited changes git reset --hard HEAD +Copy commit from one branch to the other + + # On the source branch + git log -1 + git cout <target-branch> + git cherry-pick <commit-id> + Setup remote repository On remote: |