How to change the cloning folder of a specific git? My default storage directory is here
C:\Users\myPC\Documents\GitHub
But for this one git
https://github.com/username/myproject
I want to put it in
C:\somefolder
(and not like C:\somefolder\myproject but all the files under C:\somefolder)
How to do that? I tried git clone
command line but then the git doesn't show up in my Github for Windows client
Sorry for basic question but couldn't google or search here any answer!
Current git versions support Sparse checkout which allows you to clone or fetch only a particular folder from a very big repository.
The fastest way to change the folder name when cloning a GitHub repository is to simply specify the name you want at the end of the git clone command. Here's a short video showing the entire process: When you're done downloading the repo do cd your-app-name to enter your directory with all the Create React App files.
In "GitHub for Windows" first go to Tools-->Options Here select your folder in "default storage directory". Now in GitHub if you click on "Clone in Desktop" button then it will clone in selected folder
The latest GitHub desktop client (3.3.4.0) prompts for a local directory to clone the repo to. This was when cloning my own repo from github.com to local.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With