Authors:
markscott
opensource software

Git Integration

Vendor: JetBrains

Email: N/A

Website: N/A

SourceCode: link

License: license url

Description:

Provides integration with Git version control system
Downloads: 6815
Rating:
Participated in rating: 7
Version Since Build Until Build File/URL Size (Kb) Date Dependency
2.4. 80.8890. 85.9999. Download 205.26. 2009-05-05 01:18:04 .
2.4. 55.5000. 75.7999. Download 199.42. 2009-05-04 18:00:00 .
2.3. 80.8890. 85.9999. Download 205.53. 2009-03-12 23:55:16 .
2.3. 55.5000. 75.7999. Download 199.84. 2009-03-12 22:36:03 .
. .

Recent change notes:

Version 2.4 just fixes a few more minor issues, mainly with push/pull operations.

General usage instructions:

Requires external Git command line tool to function. Cygwin is recommended on Windows. Configure the location of the 'git' command in the project settings Version Control tab using the "Configure VCS" button for the Git VCS.

Comments:

cparker71
Rated: noRate
2009-11-23 22:01:01
Started seeing this bug today when trying to commit. Any ideas? Thanks.

git4idea.envs.GitCheckinEnvironment.commit(Ljava/util/List;Ljava/lang/String;Ljava/lang/Object;)Ljava/util/List;: git4idea.envs.GitCheckinEnvironment.commit(Ljava/util/List;Ljava/lang/String;Ljava/lang/Object;)Ljava/util/List;
java.lang.AbstractMethodError: git4idea.envs.GitCheckinEnvironment.commit(Ljava/util/List;Ljava/lang/String;Ljava/lang/Object;)Ljava/util/List;
at com.intellij.openapi.vcs.changes.ui.CommitHelper$CommitProcessor.process(CommitHelper.java:9)
at com.intellij.openapi.vcs.changes.ChangesUtil.processItemsByVcs(ChangesUtil.java:268)
at com.intellij.openapi.vcs.changes.ChangesUtil.processChangesByVcs(ChangesUtil.java:273)
at com.intellij.openapi.vcs.changes.ui.CommitHelper$CommitProcessor.callSelf(CommitHelper.java:37)
at com.intellij.openapi.vcs.changes.ui.CommitHelper.b(CommitHelper.java:22)
at com.intellij.openapi.vcs.changes.ui.CommitHelper.access$200(CommitHelper.java:78)
at com.intellij.openapi.vcs.changes.ui.CommitHelper$1.run(CommitHelper.java:2)
at com.intellij.openapi.vcs.changes.ui.CommitHelper$2.run(CommitHelper.java:7)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:13)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:101)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:16)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)
.
Anonymous
Rated: noRate
2009-10-16 01:52:07
Great thing! But how about submodules? Without this feature this plugin is useless for me.
.
Anonymous
Rated: noRate
2009-08-12 22:27:32
Hi,

Do I misread that I can use the git integration plugin with Idea 6.0?

>2.4. 6.0 (5000) . 6.0 (7999) .

I have the following error situation:

* install the plugin git4idea 6835
* shutdown idea
* restart
* idea hangs with the \"splash screen\"

I have stack traces if these present seem
interesting..

thanks,

bill


.
markscott
Rated: noRate
2009-07-16 01:29:30
IDEA 8.1 comes with Git4Idea bundled in. Git4Idea v2.4 only works with up to IDEA v8.0.x, so you'll need to delete the plugin jar that's been downloaded. It should be under \Users\username\.IntelliJIdea8x\... That will make it revert back to the system one in the installation folder.
.
Anonymous
Rated: noRate
2009-07-15 05:14:17
I have the plugging installed and I have already configured the path to Git on IntelliJ settings, but when I click on Test button, I get the following exception (using windows vista, IntelliJ 8.1.3 and plugging version 2.4)

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(654,120),absolute(654,209),button=1,modifiers=Button1,clickCount=1] on dialog0
java.lang.AssertionError
at git4idea.config.GitVcsPanel.testConnection(GitVcsPanel.java:63)
at git4idea.config.GitVcsPanel.access$000(GitVcsPanel.java:37)
at git4idea.config.GitVcsPanel$1.actionPerformed(GitVcsPanel.java:48)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1051)
at java.awt.Dialog$3.run(Dialog.java:1103)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1101)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:116)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:6)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:889)
at com.intellij.ide.actions.ShowSettingsUtilImpl.a(ShowSettingsUtilImpl.java:37)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:17)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:5)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:61)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:89)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:23)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


THANKS!
.
markscott
Rated: noRate
2009-03-13 22:47:26
Version 2.3 remembers the last commit message now. I think most, if not all the outstanding issues have been addressed. Let me know if you see any problems.

Also, git4idea is now bundled with the IDEA v8.1 release (& being maintained by JetBrains). Prior IDEA versions will want to use my plug-in releases here.

thanks
.

Rated: noRate
2008-12-26 03:47:13
This plugin (or the one bundled with IDEA 8.1 EAP #9572) resets the commit message every time when pressing Ctrl+K. Could you restore IDEA's default behaviour, that the last commit message is remembered (both after a commit attempt and after pressing cancel; see IDEADEV-32987).
.
Anonymous
Rated: noRate
2008-12-24 00:52:49
Nice plugin but when I click revision number in "Annotate file" view I see following exception (I am plugin 2.2, IDEA 8.0.1, linux, jdk 1.6, git 1.6.1rc4)

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(678,685),absolute(674,710),button=1,modifiers=Button1,clickCount=1] on frame0: For input string: ""1195163137"
java.lang.NumberFormatException: For input string: ""1195163137"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:403)
at java.lang.Long.parseLong(Long.java:461)
at git4idea.commands.GitCommand.parseTimestamp(GitCommand.java:1181)
at git4idea.commands.GitCommand.getRevisionChanges(GitCommand.java:1097)
at git4idea.actions.ShowAllSubmittedFiles.showSubmittedFiles(ShowAllSubmittedFiles.java:57)
at git4idea.providers.GitFileAnnotation$RevisionAnnotationAspect.doAction(GitFileAnnotation.java:286)
at com.intellij.openapi.vcs.actions.AnnotateToggleAction$AnnotationFieldGutter.doAction(AnnotateToggleAction.java:27)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.b(EditorGutterComponentImpl.java:353)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.mouseReleased(EditorGutterComponentImpl.java:408)
at com.intellij.openapi.editor.impl.EditorImpl.g(EditorImpl.java:469)
at com.intellij.openapi.editor.impl.EditorImpl.access$4200(EditorImpl.java:840)
at com.intellij.openapi.editor.impl.EditorImpl$14.run(EditorImpl.java:2)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:2)
at com.intellij.openapi.editor.impl.EditorImpl.c(EditorImpl.java:880)
at com.intellij.openapi.editor.impl.EditorImpl.access$7800(EditorImpl.java:373)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mouseReleased(EditorImpl.java:17)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
.
markscott
Rated: noRate
2008-12-16 00:15:43
Ouch! JetBrains changed a VCS API in 8.x build 8890, so I will be posting a new v8.0.1 compatible version of the plugin shortly.
.
punkisdead
Rated: noRate
2008-12-15 23:23:28
I discovered that if I copy the version that's bundled with RubyMine 535 it works.
.
Anonymous
Rated: noRate
2008-12-14 22:42:15
What is the latest version, 1.7 or 2.1? Which one should I use with v8.0.1? 2.1 seems to sort of work (I get the git menu items) but it always says there are no changes to be committed, and if I try to pull changes I get the following stack trace below. At some point it also complained that the directory "/.git" didn't exist, which is correct, I have the .git folder at the same level as the folder.


java.lang.NoSuchMethodError: java.lang.String.([BIILjava/nio/charset/Charset;)V
at git4idea.commands.GitCommandRunnable.run(GitCommandRunnable.java:120)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$3.run(ProgressManagerImpl.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$4.run(ProgressManagerImpl.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:13)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:101)
at com.intellij.openapi.application.impl.ApplicationImpl$7$1.run(ApplicationImpl.java:11)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:2)
.
punkisdead
Rated:
2008-12-14 21:37:45
This plugin doesn't work at all in IntelliJ 8.0.1. Changes never show up in the Changes view and it constantly complains that the directory is not a Git repository.
.
Anonymous
Rated: noRate
2008-11-30 07:39:00
Great plugin. I'm getting a "Too many open files" error, though.

I run Idea 7.0.4 on Java 1.6.0 on Ubuntu 8.10. I ran lsof and there are many pipes similar to:
java 9416 btakita 1004r FIFO 0,6 12765009 pipe

Thanks,
Brian
.
babysnakes
Rated:
2008-10-31 08:22:32
Great module. Thanks.

One request though: Is it possible to make it configurable whether or not to add new changes to the index automatically?
.
Anonymous
Rated:
2008-10-04 03:06:39
By far the best Git tool out there. Been using it daily for several months now.
.
markscott
Rated: noRate
2008-09-24 17:15:16
Version 1.6 fixes all known/reported issues & adds a Git toolbar. Enjoy!
.
koba
Rated: noRate
2008-09-16 13:11:16
Some problems on osx 10.5.4 / 10.5.5, latest git4idea:
Deleting multiple files in idea and remove them from git renders idea unresponsive.

Changes made on the console are not reflected in idea e.g. added and committed files stay blue

Greetings Andy
.
Anonymous
Rated:
2008-09-11 00:51:34
I use git4idea with msysGit v1.5.6.1 on my machine. All works good just point git.exe location like c:\path_to_msysgit_installed\bin\git.exe in Configure VCS dialog.
.
Anonymous
Rated:
2008-09-11 00:49:43
I use git4idea with msysGit v1.5.6.1 on my machine. All works good just point git.exe location like c:\path_to_msysgit_installed\bin\git.exe in Configure VCS dialog.
.
markscott
Rated: noRate
2008-09-03 00:21:03
Configure the location of the 'git' command
in the project settings Version Control tab using the "Configure VCS"
button for the Git VCS. However, if you tell me what the default install path for msysgit is, I can probably make it check for it automatically in a future release.
.
Anonymous
Rated: noRate
2008-09-02 23:23:57
I do have one problem - I use msysgit on Windows, not Cygwin git. Is there any chance of tweaking the plugin to use msysgit without errors?
.
markscott
Rated: noRate
2008-08-25 05:18:26
If you email me details about the rollback problems you're having, I can take a look. If you're meaning "Revert", that should work.
.
Anonymous
Rated: noRate
2008-08-24 05:13:20
Seems to hang forever on rollbacks. Does it not support this feature?
.
Jearil
Rated:
2008-08-14 23:27:29
A very good start for some of the basics of Git in idea. I hope to see this plugin improved over time, as I'm not sure JetBrains is really into creating something like this themselves.
.
Anonymous
Rated: noRate
2008-07-23 20:17:35
Thanks. It works now.
.
markscott
Rated: noRate
2008-07-23 18:02:22
It's compiled for use with 1.5 now. Please re-download if you had JDK 1.5 problems.
.
Anonymous
Rated: noRate
2008-07-23 06:09:03
.
Anonymous
Rated: noRate
2008-07-23 06:07:16
It is possible to recompile the plugin with java 1.5?

The plugin does not run if you are running intellij under java 1.5 and intellij is extremely slow under 1.6 on the mac.

Thanks.
.
markscott
Rated: noRate
2008-07-21 19:38:15
The plugin source is now available via git on github:

http://github.com/markscott/git4idea/tree/master
.
Anonymous
Rated: noRate
2008-07-21 17:57:16
wassup,

Thanks, will do. The code is loosely based on both of those trees, but I made *lot* of changes to nearly every file, so I thought a new fork was in order. In the mean time, a link to the source zip is above on this page. I will post info here when I put it on github.
.
wassup
Rated: noRate
2008-07-19 02:02:00
Could you please share sources via GIT? GitHub??

How it differs from other version
http://github.com/davie/git4idea/tree/master
http://github.com/Fudge/gitidea/tree/master

It looks like we have move implementations and I glad that someone finally released its job as a release, so we have "official" Git plugin.
.
markscott
Rated:
2008-07-17 21:00:19
Doesn't support moving files yet, but does provide the basics.
.