Git clone

The git clone command is used to clone or copy a remote repository onto a destination such as your laptop or a remote server.

Git supports ssh and https network protocols.

Git clone ssh

git clone ssh://folauk@gmail.com/path/to/my-project.git
// example
git clone ssh://git@github.com:folaulau/spring-data.git

Git clone https

git clone http[s]://host.xz[:port]/path/to/repo.git
// example
git clone https://github.com/folaulau/spring-data.git




Subscribe To Our Newsletter
You will receive our latest post and tutorial.
Thank you for subscribing!

required
required


Leave a Reply

Your email address will not be published. Required fields are marked *