Move from GitHub / Import
Import from another git host
Your repository is on another git host, such as GitLab. Import it by its URL to bring its git history to TanStack Source.
2 min read
The import copies the git history. Issues and pull requests come over only from GitHub: see Import from GitHub.
1. Start the import
- Open New repository, and turn on Import from GitHub.
- Click Import from another git URL instead.
- Paste the URL into Repository URL.
- If the repository is private, paste a token into Access token.
- Check the Owner and the Repository name, then click Begin import.
2. Watch the progress
The repository page shows the progress of the import, and updates by itself.
Done
Your repository is on TanStack Source, with its git history. Next: point your clone at the forge.
If the import fails
The repository page shows the reason, with Access token (optional) and Try again:
The server refused access (HTTP 401), orHTTP 403: the repository can be private. Paste an access token for it, then click Try again.The repository was not found at this URL.: check the URL. To import another URL, delete the repository and import again.
A retry deletes the failed repository and imports it again.
A GitHub URL in this field
If you paste a github.com URL into Repository URL, the form shows no token field. The import uses your connected GitHub account, for the issues and pull requests and for a private repository.
If you did not connect GitHub, click Connect GitHub under the URL first. Without a connection, the import of issues and pull requests is refused with Connect GitHub first: importing issues and pull requests uses your connected GitHub account.
With your agent
src import and the MCP tools import only a public repository from another git host:
src import https://gitlab.com/acme/tools.git --public
For a private one, use the web form. Its token goes into the form, never through your agent. See Import from GitHub with your agent.