Easiest way to remote access files?

Gabriel Gunderson gabe at gundy.org
Tue Nov 29 08:48:26 MST 2005

On Tue, 2005-11-29 at 08:24 -0700, Ross Werner wrote:
> (on whatever machine you want to call the server)
> 1) cvs -d /some/dir/cvsroot init
> (wherever your code is)
> 2) export CVSROOT=user at host.com:/some/dir/cvsroot/
>     export CVS_RSH=ssh
> (note that "host.com" is whatever server machine from step 1)
>     cd /path/to/project/files/
>     cvs import -m "Initial project message" myprojectname mycompany
> start

Same steps in subversion (the obligatory svn plug):

(on whatever machine you want to call the server)
1) svnadmin create MySourcecode

(wherever your code is)
2) svn checkout svn+ssh://me@myhost.tld/PathTo/MySourcecode

>From then on all updates, commits and checkouts go over ssh.  Very nice.

Regardless of what version control you choose, the advantages are
greater then just being able to collaborate with others.  You will get
versioning.  It's nice to be able to go back to points in time, make
test branches,  apply patches to old trees, etc...

Good luck.


More information about the PLUG mailing list