Comments on: How to Install Git and Create a Git Repository https://www.tecmint.com/install-git-to-create-and-share-your-own-projects-on-github-repository/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Wed, 24 Jan 2024 06:22:12 +0000 hourly 1 By: Yoander https://www.tecmint.com/install-git-to-create-and-share-your-own-projects-on-github-repository/comment-page-1/#comment-695950 Tue, 27 Oct 2015 15:47:56 +0000 http://www.tecmint.com/?p=4583#comment-695950 In reply to Rick Copley.

If you want to start a clean and fresh project then you don’t need to follow this bunch of steps, firt create the repo on github.com and after do a git clone git@github.com:username/my-forth-git-repo.git and from here you’re under control.

]]>
By: Jason https://www.tecmint.com/install-git-to-create-and-share-your-own-projects-on-github-repository/comment-page-1/#comment-268019 Wed, 10 Sep 2014 05:15:37 +0000 http://www.tecmint.com/?p=4583#comment-268019 You made one small mistake. If the user has never setup git before he/she will need to do this instead of apply the set-url:

git remote add origin git@github.com:user/project.git
]]>
By: Rick Copley https://www.tecmint.com/install-git-to-create-and-share-your-own-projects-on-github-repository/comment-page-1/#comment-210114 Tue, 08 Jul 2014 20:08:54 +0000 http://www.tecmint.com/?p=4583#comment-210114 I followed this and I am unable to see the repo, unless I create it on github.com first.

When I create on github.com first, it provides a list of commands that I can then use for the repo:

mkdir my-forth-git-repo
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:username/my-forth-git-repo.git
git push -u origin master
]]>