4

I have a big commit on another git branch. I'd like to "cherry-pick" some hunks from that commit into my current branch. I bet magit can do that, but I'm not sure how. Anyone? (I've seen ways to cherry-pick whole commits, but I want to do it hunk by hunk.)

3

Wow, it's almost too easy. Just go to the other commit in the log buffer, show it, and use "a" to apply each change to the current working dir.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.