Git newbie here. I'm setting up git on a new Ubuntu VM and trying to clone some repos. The clone works for the following command:
git clone http://github.com/organisation_name/repo_name
(after prompt for username/password), but fails for
git clone git://github.com/organisation_name/repo_name
and also
git clone git://github.com/organisation_name/repo_name.git
with the same error message:
Cloning into 'repo_name'...
fatal: remote error:
Repository not found
Of course the obvious answer is "use the http
method", but I'm trying to understand why one works and the other doesn't. Any suggestions? (also is there any difference when using the .git
extension on the repo name btw?)
Thanks!