Procedure to get a GIT account


 REGISTRATION / AUTHORISATION:

1. First, a request must be send by email to surfex-support@meteo.fr in which you explain that you want to have access to the GIT repository. Please explain your motivations, and why the Open-SURFEX version is not sufficient for you.

2. If the request is accepted, to have to the GIT repository, first, you must open an account on https://opensource.umr-cnrm.fr/

3. When you receive the confirmation that you account is open, inform surfex-support@meteo.fr. We will add you as member of the Surfex_Git2 project.

4. When you have confirmation of (3), finally, you need to be identified by the server. For that, send your SSH public key to support.desr@meteo.fr (as an attachment, not a copy-paste inside your message).
This key is available in the directory $HOME/.ssh, file id_rsa.pub.
If this file doesn’t exist, you can create it with the command: ssh-keygen



 CLONING THE SURFEX GIT REPOSITORY:

To create your own SURFEX GIT repository, first create a directory, SURFEX_GIT for example. Go into this directory and type:

To get the code as reader only via GIT:

git clone ssh://reader097@git.umr-cnrm.fr/git/Surfex_Git2.git

To get the code and manage a branch:

git clone ssh://admin097@git.umr-cnrm.fr/git/Surfex_Git2.git

This allows you to access to the whole remote repository for the SURFEX project.