Migrate SVN directory from standard to SSH
I have an SVN repo that I want to change to work over SSH, but do开发者_开发百科n't want to checkout again. I have added the appropriate tunnels, but when I go to checkout, it still goes over HTTP.
Use svn switch --relocate old-url new-url .
to convert the default access URL.
From within the working directory of your checked out repository:
svn switch svn+ssh://some.server/path/to/repo .
See the documentation.
精彩评论