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:// -m "initial freaking import"

  3. Check them out again to your desired directory.

    $ svn checkout svn://

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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.