Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 52 Next »

This is a step-by-step guide to importing and mirroring a Subversion project into a Git repository.

  1. In Bitbucket, create a project by clicking Create Project or select the existing one.



  2. Add an empty Git repository to your project by clicking Create Repository or select the existing repository.



  3. Specify the settings for the initial configuration of a Subversion project that you want to import or mirror. To do this:
    1. On an empty repository page, click SVN Mirror.
    2. In the existing non-empty repository, click Repository Settings, and then click SVN Mirror in the sidebar menu.


      Specify the following details:
      • In the URL field, enter the URL to the root folder of a Subversion project.
      • Specify credentials to log in to a Subversion repository that contains the required Subversion project.
      • Select the way to identify a Subversion project layout (the trunk, branches, tags, and shelves). See the Identifying Subversion project layout section for the detailed information.
      • In the Email Domain filed, specify the email domain for the automatic Git author generation.

  4. To start the initial configuration of the project, click Continue
    To reset the initial configuration settings that you’ve specified, click Reset to Defaults.

  5. Review, and if required, adjust the configuration settings to import or mirror your Subversion project properly. See the Import and mirror configuration settings section for the detailed information.
    To restore previous configuration setting that you’ve specified, click  Revert Changes.
    To go back to the initial configuration of a Subversion project, click Back.

  6. To import a Subversion project into a Git repository, click Import.

    After import, the synchronization between the Git and the Subversion repositories is disabled.

    Any time you can start synchronizing the Git repository, which contains the imported Subversion project, with the original Subversion repository. To do this, click Enable on the Mirror Status pane.

  7. To mirror a Subversion project into a Git repository, click Mirror

    The Git repository with the imported Subversion project stayed synchronized with the original Subversion repository. The changes committed either with Subversion or Git are synchronized in both directions.

    In case you import or mirror into the non-empty Git repository, the commits that have already existed in this repository become unsynced. After import, resolve conflicts manually on the Unsynced Commits tab.


    Importing and mirroring may take significant time. It depends on the size of your Subversion project.

  • No labels