tags:

views:

40

answers:

1

I have a project on github but I need to maintain a svn repo updated with every push. I have checked this question but I want to do it automatically.

Is there a way to tell github to do a svn ci when a push occurs?

+2  A: 

It's possible that the svn interface on GitHub may work for you - you might want to check that out first. It is automatically kept up to date for your main branch.

svn co http://svn.github.com/user/project

However, if that is not sufficient, you can give GitHub a URL to ping when something is pushed, then setup a server to run a git pull; svn ci whenever it gets that ping.

Scott Chacon
Love this feature. Wish we could do `svn co http://svnhub.com/user/project` too `:P`
Jake Wharton