Davide Targa website

Programming, web development and open source

Basic Git Configuration

Git is a distributed revision control system with an emphasis on speed. Git was initially designed and developed by Linus Torvalds for Linux kernel development. Once you installed Git, you may configure some basic parameters like username, email, ecc. To do so you can use the following commands:

  • Set the username:
$ git config --global user.name "Your Name"
  • Set the user email:
$ git config --global user.email "foo.bar@somehost.com"
  • Enable the ui color option:
$ git config --global color.ui true

Hope this helps