1
0
mirror of https://github.com/namibia/tips.git synced 2024-05-31 09:21:14 +00:00

Adding git to cherry-pick

This commit is contained in:
Joel Gallant 2016-06-01 10:49:41 -06:00
parent 4906001a1d
commit 1279208ef3

View File

@ -95,7 +95,7 @@
"tip": "git log --no-merges --stat --reverse master.."
}, {
"title": "Pick commits across branches using cherry-pick",
"tip": "git checkout <branch-name> && cherry-pick <commit-ish>"
"tip": "git checkout <branch-name> && git cherry-pick <commit-ish>"
}, {
"title": "Find out branches containing commit-hash",
"tip": "git branch -a --contains <commit-ish>",