All Products
Search
Document Center

Alibaba Cloud DevOps:Migrate code repositories from a third-party platform to Codeup

Last Updated:Feb 27, 2026

Codeup imports Git data from external repositories. This guide covers importing a code repository from a third-party platform through the Codeup console.

What gets imported

Codeup imports the Git data of a repository, including source code, commit history, branches, and tags. Data specific to the source platform, such as member permissions and merge requests, is not imported.

Prerequisites

Before you begin, ensure that you have:

  • Access to the Codeup console

  • A source repository accessible from the public internet

  • An access token for the source platform. See Get access token

Supported source platforms

Codeup supports importing from the following sources:

  • Self-managed GitLab

  • Generic URL (any Git repository with an HTTP clone URL)

Use Codeup-CLI instead of the console for the following scenarios:
  • Full migration of a self-hosted GitLab instance

  • Self-hosted services inaccessible from the internet

  • Repositories larger than 1 GB

  • Bulk migration of hundreds of repositories

Console-based imports may encounter timeouts due to large data volumes or network constraints.

Procedure

Step 1: Select the source platform

  1. Log on to the Codeup homepage and click Import Repository in the upper-right corner.

  2. Select the target third-party platform.

image

Step 2: Configure authorization

Authorization fields differ depending on the source platform.

Self-managed GitLab

image
FieldDescription
Host URLHomepage address of your self-managed GitLab instance. Do not include parameters or suffixes beyond the homepage address. Example: https://gitlab.your-company.com
Access TokenToken for authenticating with the GitLab instance. See Get access token.

Generic URL

image
FieldDescription
Source Repository URLHTTP clone URL of the repository. Use the clone URL, not the browser URL.
AccountAccount used for HTTP cloning on the third-party platform.
Access TokenToken for authenticating with the third-party platform. See Get access token.

Next steps

Configure authentication for push and pull

Codeup requires user authentication for push and pull operations.

Update the remote repository URL

After migration, update the remote URL to point to the new Codeup repository.

Update the URL in your local repository:

# View the current remote URL
git remote -v

# Set the remote URL to the new Codeup clone address
git remote set-url origin <new git clone address from Codeup>

Update repository addresses in third-party systems:

  • If a third-party platform pushes or pulls code from the repository, update the remote URL on that platform.

  • If the third-party platform uses HTTPS to access the code repository, configure user authentication on the platform.