I am trying to clone repo from another directory.
Lets say I have one repo in C:/folder1
and C:/folder2
I want to clone the work in folder1
into folder2
.
What would I type into the command prompt to do this?
It seems that often when cloning a URL is provided rather then a file path, however, at this moment I am just practicing and trying to get use to Git.
git clone C:\folder1\.git folder2
. You need to run it from the directory where you want folder2 to appear