Skip to content

Commit 4d26afa

Browse files
committed
Merge pull request #52 from joelg236/cherry-pick
Adding git to cherry pick
2 parents 806f890 + 1279208 commit 4d26afa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ git log --no-merges --stat --reverse master..
278278

279279
## Pick commits across branches using cherry-pick
280280
```sh
281-
git checkout <branch-name> && cherry-pick <commit-ish>
281+
git checkout <branch-name> && git cherry-pick <commit-ish>
282282
```
283283

284284
## Find out branches containing commit-hash

tips.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"tip": "git log --no-merges --stat --reverse master.."
9696
}, {
9797
"title": "Pick commits across branches using cherry-pick",
98-
"tip": "git checkout <branch-name> && cherry-pick <commit-ish>"
98+
"tip": "git checkout <branch-name> && git cherry-pick <commit-ish>"
9999
}, {
100100
"title": "Find out branches containing commit-hash",
101101
"tip": "git branch -a --contains <commit-ish>",

0 commit comments

Comments
 (0)