Author Topic: Git or SVN for Ubunbtu  (Read 4537 times)

ukgimp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2241
    • View Profile
Git or SVN for Ubunbtu
« on: May 08, 2012, 11:07:49 AM »
Which one do you recommend and why?

ergophobe

  • Inner Core
  • Hero Member
  • *
  • Posts: 9324
    • View Profile
Re: Git or SVN for Ubunbtu
« Reply #1 on: May 08, 2012, 02:13:26 PM »
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

  • Inner Core
  • Sr. Member
  • *
  • Posts: 433
  • Hens of warfare!
    • View Profile
    • Email
Re: Git or SVN for Ubunbtu
« Reply #2 on: May 08, 2012, 02:56:21 PM »
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

  • Inner Core
  • Hero Member
  • *
  • Posts: 1915
    • View Profile
Re: Git or SVN for Ubunbtu
« Reply #3 on: May 08, 2012, 05:03:22 PM »
SVN for me. Don't understand Git. In fact, I don't really understand SVN either, but I can use it!

Torben

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 305
    • View Profile
Re: Git or SVN for Ubunbtu
« Reply #4 on: May 09, 2012, 11:10:30 AM »
I use SVN with ubersvn.com on top.

Take a look at this: http://www.codeforest.net/git-vs-svn

mat

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Git or SVN for Ubunbtu
« Reply #5 on: May 09, 2012, 01:43:05 PM »
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

  • Devil's Avocado
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1286
  • Avast!
    • View Profile
    • Email
Re: Git or SVN for Ubunbtu
« Reply #6 on: May 11, 2012, 05:26:31 AM »
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.

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

  • Inner Core
  • Hero Member
  • *
  • Posts: 9324
    • View Profile
Re: Git or SVN for Ubunbtu
« Reply #7 on: May 12, 2012, 04:00:27 AM »
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