Development Repository Setup


We describe how to setup your local Git repository for development with ITK. This is a pre-requisite for testing patches, submitting patches, etc.


In a bash shell with Git

git clone git://
cd ITK

and follow the interactive prompt.


With the Git repository setup, it is possible to create and submit patches through Gerrit, review patches on Gerrit. The does many nice things, such as

  • Make sure your Git user and email are configured, so you get credit for your work.
  • Setup hooks to check for ITK style-compliance, prevent large file commits, etc.
  • Setup the Gerrit hooks, remote, and aliases, so a topic branch can be pushed with git gerrit-push.
  • Provide generally useful tips configuring Git.


Table Of Contents

Previous topic

Add Binary Data to a Patch

Next topic

Perform a Gerrit Review

This Page