I'm putting together some documentation and don't have access to a non-configured machine to just test this myself, but I'm curious if you need a github account to clone a repo from github to a local machine.
migrated from stackoverflow.com Feb 26 '13 at 22:15
This question came from our site for professional and enthusiast programmers.
No. You just use a different URL:
However, the local repo will be "read-only" in the sense that you won't be able to push your changes back to the original repo. You will still able to modify files and commit changes locally, though.
works only if you have properly set up your environment with the necessary SSH keys and whatnot, but in return you'll get a repository that permits you to commit/push the changes back to the remote repo.
(Sorry for the unintentional ad for GitHub, I just had it in mind.)
I was following some documentation for a product which required cloning from github. I didn't want to bother setting up an account so I needed to do exactly what was asked here.
The command in the documentation was:
but that just fails for me with.
as suggested in one of the answers but that failed too with.
What finally worked was this: