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?

Community
  • 1
  • 1
Macarse
  • 89,619
  • 44
  • 170
  • 229

1 Answers1

4

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
  • 2,736
  • 18
  • 13