git - make patch by IDEA
Hello.
I am testing IDEA git integration and have a question. For example, one month ago I made the commit XXXXXXXXXXXXXXXXX. Now, I want to make a patch between that commit and HEAD. I type "git diff XXXXXXXXXXXXXXXXXX HEAD > new.patch" in command line but how I can to do it via IDEA?
请先登录再写评论。
Hello Vasily,
Open the Changes view, select the changelist, select "Create Patch" from
the context menu.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
My Changes view is empty, there are the changelists?

Hello Vasily,
Sorry, I didn't read your question attentively enough. :) For old commits,
the integration currently supports creating only single-file patches; you
can do this from the File History panel (Git > Show History).
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Does Maia have more "git-integration" features?
P.S. Anyway, IDEA is the best!
Hello Vasily,
More compared to what? :) Most of the standard IDEA VCS functionality is
supported for git, and there's also a number of git-specific actions like
stash/unstash which can also be invoked from the IDE.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Dmitry - what I'd love to see (and I've heard this from a few other people as well) in the git integration is the same information currently provided when using subversion.
1) Recent commits, groupable/filterable by date/commiter
2) Incoming/pullable changes - both from the local repository itself, but also from any active remotes
Also, I'm not sure if IDEA supports it - but git submodules - update/pull from the current repo, plus any submodules of it, and push repo/submodules
And to ease migration to git - support for git-svn.
Not sure how much of this could be done, or how easy such things would be to add in but they'd sure make for some compelling features.
Hello Mark,
We've started work on these features already, but I'm not sure if they'll
make it into the final 9.0 release.
Submodules are not currently supported, but they're definitely on the roadmap.
We don't have any near-term plans to support this.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Compared to IDEA 8.1.3
So, you have written that
"...For old commits, the integration currently supports creating only single-file patches..."
I thought that currently == IDEA 8.1 and hope that Maia has more features.
Hello Vasily,
No, this particular feature works the same in 8.1.3 and Maia.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"