1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

git-cherry: add page (#4473)

This commit is contained in:
Amory Meltzer 2020-10-07 15:40:35 -04:00 committed by GitHub
parent 57c7f783bd
commit 352c863638
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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}}`