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 csomakk for How do you clone a Git repository into a specific folder?

$
0
0

Go into the folder.. If the folder is empty, then:

git clone git@github.com:whatever .

else

git init
git remote add origin PATH/TO/REPO
git fetch
git checkout -t origin/master

Viewing all articles
Browse latest Browse all 45

Trending Articles



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