xxxxxxxxxx
git clone git@github.com:whatever folder-name
git clone git@github.com:whatever .
How to git clone into a directory
xxxxxxxxxx
git clone git@github.com:whatever folder-name
git clone git@github.com:whatever .
xxxxxxxxxx
git clone [repo]
cd [name of sub-dir]
git filter-branch --prune-empty --subdirectory-filter [path to sub-dir] HEAD
How to clone a git repo to local folder
xxxxxxxxxx
In Visual Studio Code, press Ctrl + Shift + P (on Windows), or Command + Shift + P (on Mac). and type Git: Clone . Add the clone URL and choose the folder location where you desire cloning your repository.