Using Subversion with GitHub

Internet

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

$ svn co --depth empty https://github.com/user/repo

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

Me!

Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

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

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!