3 ms·
I'm not going to say you're wrong, I just haven't had a install work as advertised yet. I was initially put off when I tried to install it on my Windows worksta
by rjd 15y ago
I'm not going to say you're wrong, I just haven't had a install work as advertised yet. I was initially put off when I tried to install it on my Windows workstation, check out this tutorial for how much of an annoyance it is :
http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows 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.
- mikeash 15y agoIf 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.
- brunomlopes 15y agoIf you end up trying to setup git on a linux machine, two things: - 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). [1] - https://github.com/sitaramc/gitolite#_quick_install https://github.com/sitaramc/gitolite#_quick_install