GIT Revision Control

Resources:

  1. Common Gitlab server hosted at Sophia
  2. Team CFL's Gitlab server

Usage

Store credentials for HTTPS authentication

To avoid typing your username and password forever and ever:

git config --global credential.helper store

Troubleshooting

Invalid certificate

In January 2021 this issue was reported against the Sophia Gitlab server.

In case the HTTPS certificate is self-signed GIT may complain that the certificate is not valid or not found:

$ git pull --rebase origin master
fatal: unable to access 'https://git.sophia.mines-paristech.fr/exalib/cimlibxx.git/': server certificate verification failed.
CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

Download and copy the certificate e.g. git-sophia-mines-paristech-fr.pem to the .git directory then execute the following command in your project directory:

$ git config http.sslCAInfo .git/git-sophia-mines-paristech-fr.pem