European Open Root Server Network

How to import a local svn repo into an new github repository

You have a local or private svn repository which you want to partially (/tools/mytool) import into a new github repo? Here you go:

git svn clone svn+ssh://user@repo.internal/var/svn/tools/mytool
cd mytool
git remote add origin git@github.com:user/mytool.git
git push -u origin master