Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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

...

  • You must install SubGit plugin on Bitbucket server.
  • You must be Repository Administrator in order to mirror SVN repository to Git.

Create Git Repository to import the SVN repository, follow these steps to Steps to create Git Repository.

  1. Open the SubGit and click Create repository.
    Image Removed
    Image Added

  2. Provide the name of your repository and click Create Repository to create an empty repository page.
    Image Removed
    Image Added

  3. Go to empty repository page and click Actions  button.
  4. Select Subversion Mirror to setup Subversion Mirror.
    Image Removed
    Image Added

  5. On Subversion Mirror page, enter the Repository URL in URL box of Subversion Project URL.
    Image Removed
    Image Added

  6. Clear the checkbox of Subversion Credentials. By default, checkbox is selected. 
    Image Removed
    Image Added

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

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

  11. Click Import to start the import process. It may take time depending on the size of SVN repository and you connection to SVN server.
  12. After the import is done, click Enable to mirror your imported repository.
    Image Removed
    Image Added