Say I have an svn host on a private network that we will call my_work_svn
. I cannot access this from externally but I can access it from a machine which we will call my_work_ssh
(and assume I am working from a computer called my_home
).
Now If I want to checkout the repository I can do:
ssh my_work_ssh
svn co my_work_svn/master my_checked_out_repo
# CTRL+D to quit ssh session from my_work_ssh
scp my_work_ssh:my_checked_out_repo my_local_repo
but this seems long and convoluted, how do I do this with one command?