tldr/pages/common/git-cherry-pick.md

9 lines
262 B
Markdown
Raw Normal View History

2016-12-15 09:59:11 +00:00
# git cherry-pick
> Apply the changes introduced by some existing commits to the current branch.
> To apply changes to another branch, first use git-checkout to switch to the desired branch.
- Apply commit to current branch:
`git cherry-pick {{commit_hash}}`