git cherry-pick -n abc1234

Category: Git - Advanced

git cherry-pick -n abc1234

Cherry-pick without committing

Applies the changes from the named commit to the index and working tree without creating a commit. It is useful for staging several picks and committing them as one. The -n shorthand stands for --no-commit.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.