3 ms·
If you're hosting the repository on a UNIX machine with git installed, it's literally as simple as: mkdir repository cd repository git init Then on the client
by mikeash 15y ago
If you're hosting the repository on a UNIX machine with git installed, it's literally as simple as:
mkdir repository
cd repository
git init
Then on the client side:
git add serverRemote ssh://user@host.com/path/to/repository
I'm not surprised that it's difficult on Windows, since this simple approach relies on so much stuff that doesn't come with Windows, but on a UNIX server it shuold be really straightforward. Much easier than setting up Subversion in my experience.