Create patch from multiple git commits in IDEA?

I am using Git with IntelliJ IDEA 12.1, and I want to create one patch from several consecutive commits in my repository. However, the Create Patch button is grayed out as soon as I select more than one commit.

I tried the command line method as answered here and it works great. But is there a way to do this in the IDEA GUI? I think I can do it this way because the prompt says "Create a patch for the selected version (s)."

+4
source share
1 answer

Report Error IDEA-106422 , but your problem may be related to configuration.
What follows git cherry , but check if it is valid for git patch .

It is possible. Just select a few changes and click the Cherry button.
Please note: if you have not enabled Settings | Version Control | Git | "commit automatically on cherry-pick" Settings | Version Control | Git | "commit automatically on cherry-pick" Settings | Version Control | Git | "commit automatically on cherry-pick" , you will be prompted to review and commit each cherry pick one at a time. Maybe it bothers you?

+1
source

Source: https://habr.com/ru/post/1479393/


All Articles