Which version control system should I use for a Rails app: Git or SVN?
Here are some factors to consider:
Edit: Thanks for the responses so far. It seems like Git is slightly more favoured. Does it have any SSH functionality?
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With