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
Subscribe to:
Posts (Atom)
Thanks for this, it is very clear and helpful.
ReplyDelete