is there any difference between:
git clone git://github.com/randomrep
and
git clone git://github.com/randomrep.git
I’ve seen both seams to work and I’ve seen both types in instructions.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Github will allow you to clone from both locations. There should be no differences, but be aware that isn’t a normal standard for remote git repositories to accept either. In my opinion, It would be better to use the uri that Github reports on the website which always includes the .git extension. That way you can be more sure that the nonstandard behavior won’t disappear in the future.
Some Git custom client applications will also forceably add .git to the end of url’s if the first isn’t found but again that is not standard behavior with the normal git client.