Help Center/ CodeArts Repo/ FAQs/ Migrating Repositories/ How Do I Migrate a Gitee Repo?
Updated on 2024-11-14 GMT+08:00

How Do I Migrate a Gitee Repo?

Migration Procedure

The migration tool can migrate data related to repo files, such as branches, tags, commits, and source files of code repositories. Gitee repo data, such as members, PRs, and comments, cannot be migrated.

Procedure

  1. Create a repo and select the repo import mode. Log in to CodeArts Repo, and choose New Repository > Import.

  2. Select Git URL and enter a Gitee URL.

  3. Configure the username and password of Gitee. Username: username for logging in to Gitee, which is usually a mobile number. Password: password for logging in to Gitee.
  4. Enter the repository information and initialize the configuration.

  5. Enter the key information about the imported repo.

    • Path: Select the root directory of the repo to be imported.
    • Repository Name: Name of the imported repo.
    • Visibility: Private or public.
    • Schedule: If this is enabled, the imported repository is an image repository. The repository cannot commit code and can only be synced from the source repository periodically. The repository is updated every 24 hours, and the updated content is the content of the source repository 24 hours ago.
    • Branch: Import the default branch or all branches of the source repo.
    • Automatically create check task

  6. The repo is imported successfully. On the CodeArts Repo homepage, click View Import Records in the upper right corner to view key information such as the import status and failure cause. As shown in the following figure, after the repo is successfully imported, the repo is successfully created.