Subversion Project Startup Cheat Sheet

This is one of those things I have to do once every so often and that I can never freaking remember how to do.

  1. Create a repository on the server. AFAIK can’t be done over the network; must be done on the machine hosting the repository.

    # svnadmin create /path/to/repositoryname

  2. Import your files (often from a remote machine).

    $ svn import /tmp/project svn://url.com/repositoryname -m "initial freaking import"

  3. Check them out again to your desired directory.

    $ svn checkout svn://url.com/repositoryname

That’s it! See the Quick Start in the online book if you need to mess around with branches and tags and the like.

Leave a Reply

Your email address will not be published. Required fields are marked *