Insert Installing and Configuring Git - Ubuntu ~ Git version control and GitFlow

Installing and Configuring Git - Ubuntu

Installing Git:

Assuming that you're signed in as non-root user,

$ sudo apt-get update
$ sudo apt-get install git

Above command will download and install git. In order to use Git, you must configure your full name and email address details. This information is used to fill the author and committer information of commits you create. 

$ git config --global user.name "your name"
$ git config --global user.email "youremail@domain.com"

To view all configuration settings,

$ git config --list

user.name=your name
user.email=youremail@domain.com

Now git is installed and ready to use. To learn about usage of Git, check How to use Git in Ubuntu 

1 comment:

  1. Thanks for this, it is very clear and helpful.

    ReplyDelete

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews