Hello to all,
Now I am going to share how to create a Repository in GitHub account, and how to add an initial commit into that.
First we need to create an new account in GitHub
Then you have to install Git on your Linux Desktop using the following command.
$ sudo apt-get install git-core
Create a new repository and push data using command line
Just do the following commands
$ touch README.md $ git init $ git add README.md $ git commit -m "first commit" $ git remote add origin https://github.com/Your-User-Name/Your-Repository-Name.git $ git push -u origin master
If you have any doubts means got the the Try GitHub link. It has a live demo about github.com