It’s probably a no-brainer, but this totally blew my brains out. Apparently you can use Subversion with GitHub repositories! So if you’re a fan of Subversion externals, and like to include themes and plugins using
svn:externals like this:
akismet http://plugins.svn.wordpress.org/akismet/tags/2.5.6/ jetpack http://plugins.svn.wordpress.org/jetpack/tags/1.7/
You’re gonna love the fact, that if the theme or plugin is not hosted in a Subversion repository, but on GitHub only (such as the _s theme), you can still include it with
svn:externals like so:
And every time you
svn update, Subversion will pull the latest version of the Underscores theme directly from GitHub. Boom!
Unfortunately this doesn’t seem to work vice-versa. According to this thread, it’s not possible to set up a Subversion repository as a Git submodule. However, you can mirror things, just like the WordPress mirror on GitHub!
What about you? What’s your current workflow with WordPress themes and plugins? Do you use external references, or do you keep a copy of themes and plugin files in your own code base, and update them when updates ship? Share your thoughts in the comments section and have a great weekend!