Git usage
From Planets
This page is a guide to use the git repository correctly.
Access
First of all, you will probably need to connect via the "CC-IN2P3 single sign on" button and your institutional account ("EDUGAIN"). You can then either clone the git repository via SSH:
git clone git@gitlab.in2p3.fr:la-communaut-des-mod-les-atmosph-riques-plan-taires/git-trunk.git
or via https if you do not have an ssh key and will not require to push often/do not want to.
git clone https://gitlab.in2p3.fr/la-communaut-des-mod-les-atmosph-riques-plan-taires/git-trunk.git
Simple commands
As for svn, git is used to fetch remote changes from the repository:
git pull
git configuration
You can configure git to get useful shortcuts via the addition of the .gitconfig file in your home directory. Example below (replace all <text> by your own):
[user]
name = <Titi Toto>
email = <titototo@gmail.com>
[alias]
br = branch
ci = commit
co = checkout
ph = push
pl = pull --rebase
pll = merge --ff-only
list = ls-tree --name-only HEAD
ls = log --no-decorate --graph --abbrev-commit --pretty=format:'%ar %h - %an: %s'
st = status
stt = status .
[push]
default = matching
[http]
sslVerify = false
[credential]
helper = store
username=<username>
[color]
ui = auto
[cola]
spellcheck = false
Issues
You can track issues on the issues page.