Previous Page Parent Page Next Page TOC

Git

The COPASI team uses git as the source code repository. A public repository and a private repositiory are available at github.com.

Getting started

Clone the private repository (ssh):
git clone git@github.com:copasi/COPASI.private.git

Clone the public repository (ssh):
git clone git@github.com:copasi/COPASI.git

After you have cloned the repository please execute the following so that your name and email is known. Additionally, this will enable git to format you C code so that and to add Copyright statements.
cd COPASI  gitTools/initTools [--Windows]

where --Windows will provide windows binaries for supporting tools under Windows.

Updating your repository

If you do not have any uncommitted changes:
git fetch  git rebase

If you do have uncommitted changes:
git stash
  git fetch
  git rebase
  git stash pop

Publishing your commits

git push

If this fails:
git fetch
  git rebase
  git push