mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-23 09:09:39 +01:00
TIL: Update cherry pick
This commit is contained in:
parent
b0115bc2ba
commit
681dce31db
@ -8,6 +8,6 @@ git cherry-pick <sha>
|
||||
git cherry-pick <sha> -n
|
||||
git cherry-pick <sha> --no-commit
|
||||
|
||||
# pick all the commits from A to B
|
||||
git cherry-pick A^..B
|
||||
# pick all the commits from A to B (A is older than B, remove caret (^) if you don't want to include A)
|
||||
git cherry-pick "A^..B"
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user