-2

We are a team of 3 working on a small web project in eclipse using hibernate, spring mvc, mysql, tomcat. (We have a tight deadline to complete it. We have not much of experience in above. We know the basics.)

In our team, one person writes code for front-end other for backend, and third person helps. So, every time some thing is added it needed to be copied from one pc to other and edited to combine backend and frontend and then again copied to be used.

So, we decided to use version control. While searching on net, I am confused which to use-Git or SVN for our project. I have read about their pros and cons, distributed/centralised.

Which would be best for us?


I know basics of Git/Github-pull/push/fork, basic commands, etc. Regarding SVN, I contributed to an open source project which used SVN, but, at all times I used to send patches via email (since I didn't have commit permission, of course).

Other two persons are completely new to version control.

Dhawan Gupta
  • 21
  • 1
  • 1
  • 2
  • Many of the arguments against `git` only apply to people who already know `svn`. But the important question is: as the only one with any experience with either, what do *you* know well enough to support? – o11c Jun 24 '15 at 18:38
  • Just go with whatever you are most comfortable; it really doesn't matter for small projects. – Sascha Wolf Jul 03 '15 at 10:09

1 Answers1

1

You've got a computer to use to store a centralized source repository? If not, git is the only way to go.

If you do have a server, you can use either one. Subversion is much simpler and is way easier for beginners to learn.

Git is more powerful and flexible, but that power comes a lot of complications. I have seen a lot of developers insist Git is better, but then can't use it correctly. I spend a lot more time doing hand-holding and fixing boo-boos on Git projects than I do on Subversion projects.

Then again, why not use both? Github allows you to use either Git or Subversion to checkout and commit changes in their repositories. Subversion use is somewhat limited (For example, you can't create tags using Subversion), but it's usually enough to make someone who knows Subversion, but not Git happy.

David W.
  • 105,218
  • 39
  • 216
  • 337