Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloning the same repository multiple times with Github for Windows

Is it possible to clone the same repository multiple times with Github for Windows? The reason I ask is I want to clone the Laravel framework multiple times, once for each project I'm using it for.

like image 380
Tesla Avatar asked Nov 15 '12 13:11

Tesla


1 Answers

It is possible, and it is simple enough

In git bash:

git clone <repo> <directory>
git clone <repo> <directory_2>
.............................
git clone <repo> <directory_N-1>
git clone <repo> <directory_N>

Repo is your repository URL, and all those directory[N] are your desired directory names

Also, why not just make a copy of an already cloned repo to another directory?

like image 161
baldrs Avatar answered Oct 12 '22 09:10

baldrs