Skip to end of metadata
Go to start of metadata

What to do when moving your existing sourcecode from subversion to Github

(Quoting a jenkinci-dev mail from Alan Harder)

Here's one example of moving over:

https://github.com/jenkinsci/nested-view-plugin/commit/e61fe67dad26dba4efe57f63dc352b8ddbfcc2dd

https://github.com/jenkinsci/nested-view-plugin/commit/31fe81782065fa611b95ff81ed2b07a86902818f

The steps are:

  1. Check https://github.com/jenkinsci/your-plugin/compare/svn...master and make sure the branches are identical; also look at commits and make sure all commits from svn have synced over to github.
  1. commit+push changes on master branch of github.. update pom.xml and add .gitignore
  1. svn rm everything from svn and replace with a README saying source has moved to github

(make a change in github BEFORE svn rm.. otherwise it will sync over that change and remove src in github master branch too)