Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.


This section gives an overview about how to migrate SVN to Git version control system. 

...

Before migrating, ensure that that you meet the following requirement:

  • You must be Repository Administrator in order to migrate SVN repository to Git.
  • You must install SubGit plugin on Bitbucket server.
  • You must be Repository Administrator in order to mirror SVN repository to Githave access to SVN Version Control on HTTP/HTTPS.

Steps to create Git Repository

  1. Open the SubGit Bitbucket homepage and click Create repository.
    Image Removed Projects. Click here for more details.

    Image Added

  2. Select Create project to create a project. 

    Image Added

  3. Provide the name of your repository and click Create Repository to create an empty repository page.
    Image Removed
  4. Go to empty repository page and click Actions Image Removed button.
  5. Select Subversion Mirror to setup Subversion Mirror.
    Image Removed
    On Subversion Project name and Description. Project key is based on Project name.
  6. Click Create Project.
  7. Go to Project page and select the project which you have created.
  8. On Project page, click Create repository. 

    Image Added

  9. Provide the repository name and click Create repository.

    Image Added

  10. Select the Repository which you have created and click on SVN Mirror.

    Image Added

  11. On SVN Mirror page, enter the Repository URL in URL box of Subversion Project URL.

    Image Removed


    Image Added

     

  12. Clear the checkbox of Subversion Credentials. By default, checkbox is selected. 



  13. Select the Username and Password from the drop-down list of Authenticate With.
  14. Enter the credentials and click Test Connection to verify the details.
  15. Select the Single Directory Transiation from Subversion Project Layout. This will translate Project URL to the single Git branch.
    Image Removed
    Image Added

  16. Specify the default e-mail domain for authors mapping and click Continue.
    Image Removed
    Image Added

  17. Click Import to start the import process. It may take time depending on the size of SVN repository and you connection to SVN server.
  18. After the import is done, click Enable to mirror your imported repository.
    Image RemovedTo verify the migration, click Project and it will reflect the migrated Repositories.

    Image Added