As I remember, svn is more complicated, it has that separate svnadmin tool and relies on you to craft a suitable directory structure.
As I remember, svn is more complicated, it has that separate svnadmin tool and relies on you to craft a suitable directory structure.
http://www.timdavis.com.au/git/setting-up-a-msysgit-server-w...
I tried on another ubuntu machine and it just kept failing, I tired around 4 walk throughs and none of them completed... why I'm not sure.
After reinstalling that ubuntu machine after each failure I gave up and went back to SVN because it is already configured on my laptop, and I decided I might as well just use the hackintosh/OSX86 install on my workstation as its primary work environment and use SVN server already available.
I'll try git again at some stage, but I just haven't got enough spare time to spend hours debugging where things aren't as I'd expect at the moment.
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.
- setup or have available another linux machine to act as a "client". git on windows with ssh can be a bit fidgety sometimes, and that would help you debug whether it's a client or server issue.
- do look at gitolite for managing the repos [1]. Its "simple" to install, and the features it brings to the table are awesome (from private 'scratch' repos to auth and key management, and several others).