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?
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 initand 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., git@github.com/user/repo.git.