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 Ankit Singh for How do I clone a Git repository into a specific folder?

$
0
0

If you are using ssh for git cloning you can use the following command.

git -C path clone git@github.com:path_to_repo.git

eg:git -C /home/ubuntu/ clone git@github.com:kennethreitz/requests.git would pull the git repository for requests to your /home/ubuntu/ path.


Viewing all articles
Browse latest Browse all 45

Trending Articles



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