Git - git clone

git

How can we do a clone using SSH protocol?

If Bob later decides to work from a different host, he can still perform clones and pulls using the ssh protocol:

git clone alice.org:/home/alice/project myrepo

In the above code, alice.org is just a name for alice's machine. It can also be an IP address.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License