Using Subversion with GitHub


Today I (re)learned that GitHub repositories can be managed with Subversion over HTTPS. GitHub’s documentation lists these steps:

$ svn co --depth empty

Then get the trunk branch, which maps to HEAD and is usually master:

$ svn up trunk

Then get your branches:

$ svn up --depth empty branches

I’ve had moving off GitHub as a stalled personal project for a long time, but this might help.

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.