Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Make sure you can successfully log in to the main ECMWF website before following the procedure below.

Authentication

The procedure to get a password to download the OpenIFS git repository is:

...

We recommend that users login to Bitbucket via the web interface  and upload their ssh public keys into the user profile to allow passwordless access to the git repositories.

Cloning and branching

To clone the repository at the remote site follow these steps. This will prompt for your username and the password created as described in the previous section:

Code Block
titleExample git clone session
% mkdir openifs
% cd openifs
% git clone ssh://git@git.ecmwf.int:7999/oifs/oifs40r1.git       # use: git clone https://nagc@git.ecmwf.int/stash/scm/oifs/oifs40r1.git external to ECMWF
Cloning into 'oifs40r1'...
remote: Counting objects: 4680, done.
remote: Compressing objects: 100% (3654/3654), done.
remote: Total 4680 (delta 1206), reused 4175 (delta 871)
Receiving objects: 100% (4680/4680), 21.45 MiB | 20.71 MiB/s, done.
Resolving deltas: 100% (1206/1206), done.
Checking connectivity... done
% cd oifs40r1
% git checkout develop                         # or whichever release version is required (the most recent is recommended)
Branch develop set up to track remote branch develop from origin.
Switched to a new branch 'develop'
% git checkout -b feature/new_idea                      # create new branch. ALWAYS branch from the develop branch, never the master branch.
Switched to a new branch 'feature/new_idea'

...