Version 4 (modified by ianwallen, 8 years ago) (diff)

Removed "A.K.A. SVN" as there is no relationship...

Working with Git

Here are some tips for developing GeoNetwork with Git. This is not a guide to Git or to version control in general.

Github is the hosting platform for Geonetwork and lots of information can be found on their website:

Getting the source

If you're starting from scratch and just want to get the latest version of the trunk, make yourself a working directory and change into it. Then download the sources from GitHub?:

Alternatively, if you are comfortable using Git you can clone it locally with the command:

git clone --recursive git://

or with one of the many Git Gui applications

Commandline, SmartGit, TortoiseGit or Git tower are recommended for those who want to develop because they handle Submodules.

Note: Alternatively, you may use the following repository URL if you encounter firewall issues with the git protocol.

Go to HowToCompile.

Forking Geonetwork (the preferred git way)

Serious developers, particularly those working in a team, who want to make non-trivial contributions to GeoNetwork will want to fork geonetwork on github. See the github instructions: There are good guides on setting up Git as well as how to fork repositories (like Geonetwork) and how to make pull requests.

This will enable you to do checkouts, diffs, etc., very cheaply.