// NetBeans GIT support

If you are using GIT as SCM and NetBeans as IDE you should probably check out NBGit. The plugin integrates GIT in NetBeans in the same way as the out of the box Mercurial support does it. In fact both modules have the same origin since nbgit is a fork of the mercurial integration project and incrementally adds features to catch up.

NBGit Version 0.3 is already fairly stable and provides the basic set of features you would expect from distributed versioning system IDE integration.


  • Graph visualization of parallel branches (Browser similar to giggle)
  • Versioning History (git log)
  • Show changes (git status)
  • update/commit/reset
  • clone/clone other/git init
  • custom actions (custom git commands)
  • diff
  • in-editor annotation of code changes
  • ignore files (parsing '.gitignore' files)
  • git properties (username, email etc via options)

The project is developed by volunteers outside Sun, if you like to see GIT integration as out-of-the-box feature in a future version of NetBeans please vote for this RFE.

I use the plugin for most of my open source projects and haven't experience any serious issues so far. I would say its already safe to use since you can't do anything wrong if you do a 'git status' -> 'git push' via command line as last step anyway.


Nice and useful!
I used it to add quickly several unversioned files with git. Works :-)

Posted by Peter on September 24, 2009 at 08:28 PM CEST #

This is awesome! Now if only someone could port the mercurial plugin to bazaar and add launchpad integration like kenai has!

Posted by adam on January 12, 2010 at 12:56 AM CET #

Can you do a quick tutorial on how to use that plugin? Would be great. I'm having trouble on cloning a project on Github. Don't know how GIT is working. It looks different from SVN or CVS.
I didn't find any tutorial on the internet.

ANyway thanks for sharing this!

Posted by Splover on March 16, 2010 at 10:24 PM CET #

@Splover http://progit.org/book/

Posted by delor on March 31, 2010 at 02:57 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed