...
Code Block |
---|
mkdir ecmwf
cd ecmwf
git clone https://software.ecmwf.int/stash/scm/oifs/openifs.git
cd openifs
git checkout release/v04 # or whichever release required. |
This will prompt for username and password and create a directory 'openifs' in 'ecmwf'.
Use 'ssh' protocol if within ECMWF as https doesn't work.
That's it!
Example email to users
Should you want to clone the git repository for OpenIFS, here's how: 1. If you don't have an account on the ECMWF website go to old.ecmwf.int/login and self register. 2. Once you have a userid, you need to set the password on the website hosting
the repositories. If you don't have one, or have forgotten, simplest way of doing this is to go
to the page: https://software.ecmwf.int/issues and click on 'Can't access your account?'. This will forward an email to you with a web address
to reset (or create) the password. 3. Once the password is set, test it by logging in to the https://software.ecmwf.int/stash. You should see the OpenIFS
project listed. 4. To clone on your workstation is then easy: mkdir ecmwf cd ecmwf git clone https://software.ecmwf.int/stash/scm/oifs/openifs.git which
which will prompt for username & password. Then you'll get a complete clone of the repository.
You can then create branches and push them back to me if you want to!
5. To work with an OpenIFS release once you have the git repository:
git checkout release/v04
Configure Git for the first time
...