Git or SVN for Ubunbtu

Started by ukgimp, May 08, 2012, 11:07:49 AM

Previous topic - Next topic

ukgimp

Which one do you recommend and why?

ergophobe

Git - because I was doing useful things with git in a day and never really could get my head around SVN and make the transition from CVS to SVN.

If you know SVN it might be different or if you really like the more hierarchical model of CVS/SVN, but I can't think of why anyone would.

Also, git effectively acts as a backup because every repository includes all data (unless you do a "bare" repository, which you might for a central repository).

To me, SVN is outdated. Git has also been surpassed by systems that take the git concepts and refine them, but git has so much documentation out there - videos, free e-books. As a handy reference, I bought Scott Chacon's "Pro Git" from Apress and I thought it was worth it ot have next to me when starting and when I get out of the habit and am using git again after a pause.

jetboy

Never used Git, but heard good things about it. As I understand it, both can do similar things, but go about it in very different ways.

I'm sticking with SVN, as I know my way around it, and haven't found anything that I need it to do that it won't.

If you do decide on SVN, give me a shout as I'll be able to help with the install and setup.

Rooftop

SVN for me. Don't understand Git. In fact, I don't really understand SVN either, but I can use it!

Torben


mat

If you can't/don't want to deal with repositories yourself, can recommend codesion.com (ex cvsdude.com) for external hosting. Three or four years down the line and we've not had one single issue with them. We use SVN plus Tortoise in Windows and command line elsewhere.

bill

Quote from: ergophobe on May 08, 2012, 02:13:26 PMTo me, SVN is outdated. Git has also been surpassed by systems that take the git concepts and refine them, but git has so much documentation out there - videos, free e-books.

It might have been you (over on WmW) who was telling me about TourtiseSVN. I tried to wrap my head around it, but I never got around to implementing it. Git sounds interesting though...especially if it's easier than SVN. However I'd like to know what has surpassed Git already. I'm a sucker for the latest-and-greatest tech. ;)

ergophobe

Bill, the one i see mentioned is Mercurial.

I've come across people claiming this is the latest greatest thing that fixes everything wrong with git. When I hear/read that, I close my eyes, cover my ears and chant "La la la la la" because there are lots of things I want to learn in this world, but another version control system isn't one of them.

The thing is, so many open source projects are on git. So if you know git, it's a big help with Drupal (you knew I would pack that right?) if you want to pull stuff from the Drupal git repository. SVN has a similar advantage. Also, both of them are installed on most hosting plans and in most *nix distros I think (I have it on a VPS that came with CentOS and WHM/CPanel - git was part of the default install). So I figure if I'm going to use some VCS for my personal projects, it might as well be something that is used for other things, likely to be installed on most servers by default and easy to use.

Some fine readin' for ya

http://stevelosh.com/blog/2010/01/the-real-difference-between-mercurial-and-git/
http://jhw.dreamwidth.org/1868.html

http://stackoverflow.com/questions/871/why-is-git-better-than-subversion

http://stevehanov.ca/blog/index.php?id=50