-
Notifications
You must be signed in to change notification settings - Fork 109
How to get the source code from Git
You are here: Home → Documentation → How to get the source code from Git
Read access to the Coin3D and SIM Voleon Git repositories is available for those who want to follow the development closely and want a convenient mechanism for keeping synchronized with the source code at all times.
To check out source code from the Git repositories, you need the Git version control system. In addition to the standard Git command line client there are further Git clients for different platforms and Integrated Development Environments to choose from.
For information on all available Git repositories, please consult our Git repositories index. For up to date information on current development you can monitor recent activity. Furthermore, links to current snapshots in zip or tar.gz formats are provided to allow for downloads of the most recent repository without the need to install a Git client on your setup.
The following instructions assume the usage of the standard Git command line client.
To get a copy of a Git repository, move to your source code
directory and issue a Git checkout command:
$ git clone --recurse-submodules https://github.com/coin3d/repository-name repository-name
For example, to check out the Coin repository, run:
$ git clone --recurse-submodules http://github.com/coin3d/coin coin
The checkout command will create a directory 'coin' in the current directory.
(The '$' characters at the start of the line just signifies a command prompt and should not be typed.) Note that no username and password is required. If you do get a username/password prompt, check that the repository url is spelled correctly, while keeping in mind that the repository names are case sensitive.
As mentioned earlier, in order to be notified about updates in the Coin3D related Git repositories, watch the recent activity of each repository you are interested in. To update the Git repository itself, run:
$ git pull
in your checked out source tree. All the latest changes to the source code will then be fetched and merged with the source code you already checked out.