Public read-only access to the GATE source code repository

OpenGATE collaboration is now able to provide a public read-only access to the GATE source code repository managed using Git.

Please, find below some information and instructions.

  1. Install Git
  2. Get a local copy of the GATE public code repository
    git clone
  3. Consider both 'master' and 'develop' remote branches
    The GATE public remote repository holds two remote branches named 'master' and 'develop'.

    The remote 'master' branch is the main branch where the source code reflects a production-ready state (i.e. corresponding to the current GATE version V6.2). The remote 'develop' branch is the branch where the source code reflects a state with the latest delivered development changes for the next release.

    Important note : the use of the code contained in 'develop' branch is at your own risk and discretion. No service support will be provided by the OpenGATE collaboration.

    git clone automatically creates a local 'master' branch in your local repository that tracks the remote one.

    To track the remote 'develop' branch, just type: git checkout -b develop origin/develop. Then, to switch from one to another branch, use git checkout master or git checkout develop.

  4. Regularly update your repository
    To update your repository, just type git pull in your local repository, it will download last developments.
  5. If you plan to make some personal developments, we highly recommend you to create a new branch, starting from the 'develop' one. You will then be able to regularly merge the 'develop' branch into your branch to keep it up to date.

    Here are some useful commands:
    - git checkout develop # to switch to branch 'develop'
    - git branch mybranch # to create a new branch named 'mybranch'
    - git checkout mybranch # to switch to the new branch
    (do some stuff; you can commit in your branch)
    - git merge develop' # to update your branch with the new commits made in 'develop'