How to create a patch in IntelliJ IDEA?

2019-04-04 23:57发布

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?

3条回答
够拽才男人
2楼-- · 2019-04-05 00:18

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.

P.S. relevant for all versions

查看更多
Ridiculous、
3楼-- · 2019-04-05 00:25

You can do a right click Local History -> Show History and then choose a revision and click on patch button (the second from the left)

查看更多
beautiful°
4楼-- · 2019-04-05 00:37

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.

查看更多
登录 后发表回答