Subversion/Migrating to git

From Sidvind
Jump to: navigation, search
  1. Create a file mapping svn users to git users.

    Code: users (view, download)

    1. user1 = First- Last-name <email1@localhost.localdomain>
    2. user2 = First- Last-name <email2@localhost.localdomain>
    3. ...
  2. Clone svn-repo using git-svn
    # git svn clone --stdlayout -A users svn://... /path/to/temp/folder
    
  3. Verify migration worked correctly
  4. Optional: recreate tags
  5. Optional: svn:ignore can be migrated using show-ignore in the root folder
    git svn show-ignore > .gitignore
  6. Add new remote point to new location and push