Using SVN on OS X for checkout

I needed to figure out how to download the K2 theme from the SVN repository and I knew there was a better way then just right-click>save as. So I looked around and found out it’s extremely easy on OS X.

First step, install SVN:

  1. Go to CodingMonkeys and Download Subversion for OS X. It’s an installer so no terminal use here.

Second Step, Check to see if SVN works.

  1. Open the Terminal, Located in /Application/Utilities and type: svn [enter]

If you have an output like: Type ’svn help’ for usage. Then svn is working correctly.
If /usr/local/bin is not in your path, edit your .profile and add a line like the following:
export PATH=$PATH:/usr/local/bin
Then open another Terminal window and try again with: svn [enter]

Step 3, use SVN. The best way is to use SVNx.

  1. Download SVNx and install.
  2. Start SVNx, two Windows with the names ‘Working Copy’ and ‘Repositories’ will open. Under Repositories add the Url und Login Data from the SVN Server.

For K2 I used http://getk2.com/svn/ as the path and named it whatever.

3. Double click on the created SVN Repository and you’re now connected.
4. To download the files from the SVN just click “SVN Checkout”.It is that easy.

I have the rest of the tutorial on it’s own page.

About the Author, Dan Cameron:

I'm the owner and solution engineer at Sprout Venture, a web solutions company that specializes in web development including WordPress.

I started my first blog in 2003 and transitioned to WordPress in 2004. Since moving to WordPress I've written a few plugins and themes for public consumption. Lately I'm busy engineering/building/coding and have only been able to share a few code snippets.

If you're in need of some web development, web design or custom WordPress plugins and/or themes contact me, I'll be happy to discuss it with you.

Read More »

blog comments powered by Disqus