Updated almost 11 years ago by Knödlseder Jürgen

Configuring git

Bare minimum

The only absolutely necessary configuration step is identifying yourself and your contact info:

$ git config --global user.name "Joe Public" 
$ git config --global user.email "joe.public@gmail.com" 

Please make sure that you specify your full name as user.name, do not use your abbreviated login name because this makes code modification tracking more cryptic.

In case that you get

error: SSL certificate problem, verify that the CA cert is OK.
you may add
$ export GIT_SSL_NO_VERIFY=true
before retrieving the code. Alternatively, you may type
$ git config --global http.sslverify "false" 
which disables certificate verification globally for your Git installation.

Also available in: PDF HTML TXT