git-cherry: add page (#4473)
This commit is contained in:
16
pages/common/git-cherry.md
Normal file
16
pages/common/git-cherry.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# git cherry
|
||||
|
||||
> Find commits that have yet to be applied upstream.
|
||||
> More information: <https://git-scm.com/docs/git-cherry>.
|
||||
|
||||
- Show commits (and their messages) with equivalent commits upstream:
|
||||
|
||||
`git cherry -v`
|
||||
|
||||
- Specify a different upstream and topic branch:
|
||||
|
||||
`git cherry {{origin}} {{topic}}`
|
||||
|
||||
- Limit commits to those within a given limit:
|
||||
|
||||
`git cherry {{origin}} {{topic}} {{base}}`
|
Reference in New Issue
Block a user