java.netgittortoisegitmultiple-repositories

How can I use GIT with multiple repositories with the same account on the same windows machine


I have the first GIT repository (ssh://git@myserver:7999/swlab/java_be_app.git) for a Java Back-End application I developed on one machine and a second GIT repository (ssh://git@myserver:7999/swlab/dotnet_app.git) for a .NET application I developed on another computer. Yes, I'm using SSH and a "C:/Users/xxxxxxx/.ssh/id_rsa.ppk" file that contains the same key for the same account for both repositories.

Now, the second computer crashed: HDD is RIP, memory is fried and CPU with not process anything anymore. And I still need to continue developing both application on one machine. I am using TortoiseGit as my GIT client.

Merging the 2 repositories into 1 is not an option for so many reasons: these are 2 different applications for 2 different customers and there's also very serious issues of privacy, code and data security.

How can I use both repositories, with the same account on the same windows machine?


Solution

  • What about ?

    git clone ssh://git@myserver:7999/swlab/dotnet_app.git