How to Integrate with Git4Idea


I'm developing plugin and want to integrate with git4idea to do some checks before and after committing. How can open the commit window from the code and get notified after the commit is done so that I can call my code.

I tried to download the source code of git4idea from the following link but when opening it on IntelliJ i got compilation errors

Then when I checked the installed git integration I found that it has version = 8.1 and the following svn link, when i tried to chekout it i couldn't

1 comment

The up-to-date source code of the Git plugin is part of the main Community Edition source code. Note that the commit dialog is not dependent on any particular VCS and you don't need to depend on the Git plugin in order to invoke it. The method to invoke it is CommitChangeListDialog.commitChanges().


Please sign in to leave a comment.