Partly cherry-picking a commit with Git
The core thing you’re going to want here is git add -p (-p is a synonym for –patch). This provides an interactive way to add in content, letting you decide whether each hunk should go in or not, and even letting you manually edit the patch if necessary. To use it in combination with cherry-pick: … Read more