Linux: install and configure Git

After installing Git, apt-get install git, we need to configure it once. The first thing you should do is to set your user name and e-mail address. This is important because every Git commit uses this information:

$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com

Leave a Reply