Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git or SVN for Rails app?

Which version control system should I use for a Rails app: Git or SVN?

Here are some factors to consider:

  • I'm the sole developer
  • I'm familiar with SVN
  • I've only used Git for a week, it seems pretty similar to SVN really.
  • I want to put my repository on a remote location and connect to it via SSH or other protocol (which I already do with SVN).

Edit: Thanks for the responses so far. It seems like Git is slightly more favoured. Does it have any SSH functionality?

like image 224
alamodey Avatar asked Feb 11 '09 13:02

alamodey


People also ask

Which is Better Git or SVN?

SVN is better than Git for architecture performance, binary files, and usability. And it may be better for access control and auditability, based on your needs.

Is SVN easier than Git?

SVN has one central repository – which makes it easier for managers to have more of a top down approach to control, security, permissions, mirrors and dumps. Additionally, many say SVN is easier to use than Git.

Can git be used for SVN?

The git-svn tool is an interface between a local Git repository and a remote SVN repository. Git-svn lets developers write code and create commits locally with Git, then push them up to a central SVN repository with svn commit-style behavior.


1 Answers

I'd say go for Git. Mostly because I'm biased, but also because you don't need to setup any sort of server with Git, you just git init and go. Git is generally just better, it provides more flexibility and power than SVN does.

Edit: This is a bit of a dupe of Why is Git better than Subversion, or at least relevant.

Edit2: Git has 3 primary methods of communication, the Git protocol, SSH and HTTP. Github uses SSH for "push access", e.g., [email protected]/user/repo.git.

like image 109
sebnow Avatar answered Oct 05 '22 10:10

sebnow