1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 12:42:07 +02:00
tldr/pages/common/git-cherry.md
Sebastiaan Speck 380fd5d441
pages*: convert long-short to short-long syntax (#13567)
* pages*: convert long-short to short-long syntax

* git-add: fix typo
2024-09-03 06:13:42 +05:30

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 {{-v|--verbose}}`
- Specify a different upstream and topic branch:
`git cherry {{origin}} {{topic}}`
- Limit commits to those within a given limit:
`git cherry {{origin}} {{topic}} {{base}}`