Quantcast
Channel: How do I clone a Git repository into a specific folder? - Stack Overflow
Viewing all articles
Browse latest Browse all 45

Answer by prosti for How do you clone a Git repository into a specific folder?

$
0
0

From some reason this syntax is not standing out:

git clone repo-url [folder]

Here folder is an optional path to the local folder (which will be a local repository).

Git clone will also pull code from remote repository into the local repository. In fact it is true:

git clone repo-url  =  git init + git remote add origin repo-url + git pull

Viewing all articles
Browse latest Browse all 45

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>