mirror of
https://github.com/namibia/tips.git
synced 2025-02-02 19:48:24 +00:00
Merge pull request #52 from joelg236/cherry-pick
Adding git to cherry pick
This commit is contained in:
commit
4d26afac75
@ -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
|
||||
|
@ -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>",
|
||||
|
Loading…
x
Reference in New Issue
Block a user