Merge pull request #52 from joelg236/cherry-pick

Adding git to cherry pick
This commit is contained in:
hemanth.hm 2016-06-01 22:24:16 +05:30
commit 4d26afac75
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ git log --no-merges --stat --reverse master..
## Pick commits across branches using cherry-pick
```sh
git checkout <branch-name> && cherry-pick <commit-ish>
git checkout <branch-name> && git cherry-pick <commit-ish>
```
## Find out branches containing commit-hash

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>",