mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-31 09:15:32 +02:00

Co-authored-by: spageektti <git@spageektti.cc> Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
16 lines
405 B
Markdown
16 lines
405 B
Markdown
# 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 {{--verbose|-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}}`
|