You could read this in the manual, or you could read it here. Up to you! Anyway, I like to store code on my own machines. For Git, it’s super easy to have a copy of a repository on another machine that you push to and pull from: you just use machine:path
as the remote, and Git will invoke SSH for you (ssh://machine/path
also works). Can you do something similar for Subversion?
Sure can! On the host machine, create the repository with svnadmin create
:
svnadmin create myrepo
On the client machine, you’ll need a URL of the form svn+ssh://machine/absolutepath
:
svn checkout svn+ssh://myhost/home/myuser/myrepo
And that’s it! SVN will do the same sort of “tunnel over SSH” thing that Git does.
Tags: Subversion