Hi Reader's,
Welcome to FindNerd, today we are going to discuss on install and setup GitHub on Ubuntu.
If you want to install git and setup GitHub on Ubuntu, Then firstly you have to update apt-get.
You can follow below command
$ sudo apt-get update
After completed this command you have to run below command
$ sudo apt-get install git
After this command git has been install successfully on your Ubuntu
Now you have to setup git.
So you have to do few things which will commit messages and upload files to git repository. you can follow below command to setup git.
$ git config --global user.name "Your Name"
$ git config --global user.email "example@domain.com"
After enter you can see that username and email is saved or not:
If you want to to see list of your name and email id then you can follow below command
$ git config --list
After push enter following output will be displayed:
user.name=Your Name
user.email=example@domain.com
Now you can add repository to git and upload files.
I hope this blog will help you to setup Github on Ubuntu
Thnaks
0 Comment(s)