SVN in a Git world

I mostly use the Git version control system in my workflow. The one exception is for WordPress.org plugin repos that still use SVN. Since I rarely use it I just spent a ton of time re-learning how to deal with it to update my Featured Authors Widget plugin. Here are my notes. This is mostly to jog my own memory later but maybe someone will find this helpful.

  1. Spin up a local development environment.
  2. Navigate to the plugins directory in terminal
  3. Check out trunk into an appropriately named directory with

    svn co http://plugins.svn.wordpress.org/example-plugin/trunk example-plugin

    (that URL comes from the plugin repo on wordpress.org)

  4. Update the plugin as necessary
  5. Commit your changes back to the repo with

    svn ci -m ‘updated readme after testing on WP 4.0.1’

  6. Go enjoy another cup of coffee.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a reply