My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

git-idea

NOTE: git-idea has been shut down as IDEA now offers a superior git plugin

git-idea is a plugin for Intellij IDEA that provides integration with the git revision control system. git-idea provides only a subset of the functionality you'll need for working with git, but it handles most IDE-appropriate actions.

This is an alpha project. It's not well-tested, although it's used constantly by several developers. Please provide feedback, and feel free to open tickets for bugs or feature requests.

What's it Do

git-idea provides the following:

  • add
  • delete
  • rename
  • move
  • tag
  • file history

git-idea integrates with IDEA and tracks it's filesystem changes as you work, adding/deleting/renaming/moving files. git-idea also provides standard vcs functions via the normal IDEA vcs menus. You can explicitly add files, commit some or all of the changes in your project, view file history for any file, etc.

You can use the git external git tools, like the command-line tools, in conjunction with git-idea in IDEA. Use the Refresh File Status function if things look out of sync.

More functionality is still to come.

Installation and Configuration

You must have git 1.5 installed.

Download the latest build of git-idea. Unzip it and move the now unzipped 'git-idea' directory it into your plugins dir.

In any project needing git, enable the git vcs as follows:

  • Open IDEA's Settings panel, and select Version Control.
  • Under Directory Version Control Settings, point to the root(s) of your git repository on disk (be sure they're accurate!) and select the 'git' VCS for each root. Directory entries MUST be at the root direcotry of a git repository, even if it's outside of your project.
  • Click "Configure VCS..." and select git
  • Configure the plugin it so it can find your 'git' executable. You can use the "test executable" button to make sure the plugin is able to find your git installation using the path you provided.

That's it!

Implementation

git-idea works by creating external processes executing the 'git' executable and screen-scraping the results.

git-idea is implemented in groovy and java 1.5. It was built using git 1.5.4.4 and Intellij IDEA 7.0.3 #7757. It will probably work with slightly earlier builds of IDEA 7. git-idea will NOT work with IDEA 6.

Source Code Access

Builds can downloaded here at google, but the source code is stored (naturally) in a git repository at gitorious.org. You can clone the repository with either of the following commands: git clone http://git.gitorious.org/git-idea/mainline.git or git clone git://gitorious.org/git-idea/mainline.git

Powered by Google Project Hosting