Skip to main content
Version: 1.1.0

Import Third-party Git Projects (GitHub, etc.)

1. Import Project

Select Import Project on the homepage

2. Fill in Information

Enter the third-party Git project URL and project information. If importing a private repository, you'll need to enter the target platform's user token for authorization.

3. Authorization Verification

When importing open-source projects from other platforms (like GitHub, Gitee) using GitLink, if the project is private, you cannot import it through normal means. You'll need to enter a valid token from the corresponding platform for verification.

Below are token acquisition methods for some typical open-source platforms.

Getting a GitHub Token

  1. Log in to your GitHub account

  2. Access the settings menu under your profile picture

    img

  3. Access Developer settings at the bottom

    img

  4. On the redirected page, access Token (classic) and create a new classic token (if you haven't saved one)

    img

  5. On the token configuration page, enter the token's purpose and ensure the "repo" option is checked, otherwise the import will fail

    img

    Click the create button

    img

  6. Copy the token

    img

    And enter it in the GitLink project import authentication field

    img

Getting a Gitee Token

  1. Log in to your Gitee account

  2. Access the settings menu under your profile picture

    img

  3. Access "Private Token" under "Security Settings"

    img

  4. Click generate new token, configure the token name on the generation page, ensure the "project" permission is checked, and save the token

    img

    img

  5. In the token generation success popup, copy the token and enter it in the GitLink project import authentication field

    img

    img

4. Import Successful

You'll see a message indicating migration from the third-party Git project URL is in progress

Once migration is complete, the project import is successful