简体   繁体   中英

How to create a patch in IntelliJ IDEA?

I've been using IntelliJ IDEA 9.0 Community Edition for some time after years living in Eclipse. One thing seems to be hard to find in it. I'd like to create a patch on some subfolder in my project. In Eclipse it is done using right click, Team, Create Patch.

Does anybody know how to do that in IDEA?

Use the Changes view. In the group by directory mode you can right click on the directory with changes and choose Create Patch from the context menu.

您可以右键单击“本地历史记录”->“显示历史记录”,然后选择一个修订版本,然后单击“修补程序”按钮(左数第二个)

From the top corner, click on Git -->patch--> create Patch from Local Changes

In the Local Changes tab or the Repository (SVN)/ Log (Git) tab of the Version Control tool window, select a change or changelist you want to create a patch for and click Create Patch from the context menu.

PS relevant for all versions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM