mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
git-cherry-pick: add example (#23194)
This commit is contained in:
@@ -19,3 +19,7 @@
|
||||
- Add the changes of a commit to the working directory, without creating a commit:
|
||||
|
||||
`git cherry-pick {{[-n|--no-commit]}} {{commit}}`
|
||||
|
||||
- Append a line to the commit message to indicate that the commit was cherry-picked:
|
||||
|
||||
`git cherry-pick -x {{commit}}`
|
||||
|
||||
Reference in New Issue
Block a user