gitgithubgithub-for-windows

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.


Solution

  • 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?