git: partially cherry-pick a commit

12 · Thiago Perrotta · Oct. 15, 2025, 9:36 a.m.
Summary
This post discusses the limitations of the standard `git cherry-pick` command, which copies entire commits from one branch to another. It introduces a workaround using the `-n` option to allow developers to cherry-pick only specific changes without committing them immediately. Additionally, it suggests creating an alias for the command to simplify usage.