I am using Git with IntelliJ IDEA 12.1, and I want to create a single patch from multiple consecutive commits in my repository. However, the "Create Patch" button is greyed out as soon as I select more than one commit.
I've tried the command line method as answered here, and it works great. But is there a way to do it in IDEA's GUI? I think I should be able to do this somehow, since the tooltip says "Create Patch for selected revision(s)".
Issue IDEA-106422 reports it is possible, but your problem could be linked to a setting.
What follows applies for git cherry
, but check if it does for git patch
as well.
It is possible. Just select several revisions and click the "Cherry" button.
Note that unless you've enabledSettings | Version Control | Git | "commit automatically on cherry-pick"
, you'll be prompted to review & commit each cherry-pick one by one. Maybe this is what confuses you?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With