Skip to content
Source
Sign inSign up

Import an organization

Move from GitHub / Import

Import a GitHub organization

Your team keeps dozens of repositories in a GitHub organization. Move all of them to TanStack Source in one go, with the name, the logo and the links of the organization.

5 min read

The import copies the profile and the image of the organization, the repositories that you pick, and their issues and pull requests. It also imports your own GitHub repositories in the same way.

You need:

  • To be an owner of the organization on GitHub.

Other ways to start:

1. Connect GitHub

  1. Click + in the header, then Import from GitHub.
  2. Click Connect GitHub.
  3. On GitHub, let TanStack Source read your organizations and your repositories.
The Import from GitHub page, with the Connect GitHub button

You connect one time. Source keeps the connection in Settings, Connected accounts, and the next import uses it too.

Note

Connect again only when GitHub refuses the connection, or when you connected a GitHub account that is not the one linked to your Source account. Source keeps that one for 30 minutes, for one import.

2. Pick the organization and its repositories

  1. Under Choose what to import, click the organization. The first row is your own GitHub account.
  2. Read the line above the list. It tells you what happens to the name of the organization here. See If the name is taken here.
  3. Check the repositories that you want.

The list is ready to import as it is:

  • Each repository is checked, except forks.
  • A repository that is here already shows Already here, and the import skips it.
  • Private repositories stay private. Archived repositories import as normal repositories.

3. Start the import

  1. Keep Import issues and pull requests on. It copies every issue and pull request, with their comments and reviews. They show at once.
  2. Click Import. The button shows how many repositories you checked.

The page of the organization opens.

4. Watch the progress

Each repository shows a badge while it imports, with the step that it is on.

The TanStack organization page, with its logo, description and links, and an Importing badge on the db repository

Several repositories import at the same time. If GitHub's rate limit stops an import, the import waits and then continues.

Each git server of the forge fetches at most 2 imports at a time. The other repositories wait for their turn.

If a repository shows Failed, the reason is under the badge. Click Retry next to the badge to open the repository page, then follow Retry a failed import.

Done

Your organization is on TanStack Source, with its profile, its image, its repositories and their issues and pull requests.

To keep the repositories in sync with GitHub after the import, see Sync every repository of an organization. Switch from GitHub has the other steps of the move: your clones, CI and branch rules.

What comes over

  • Profile: the display name, description, website, public email, X handle and location.
  • Image: the avatar of the organization. You can change it later: see Your profile and image.
  • Repositories: the git history, the issues and the pull requests, as described in Import from GitHub.
  • People: each member of the GitHub organization who signed in here with GitHub gets an invitation. Invite the others yourself: see Bring your team.

The import is a one-time copy. Changes on GitHub after the import do not come over.

If the name is taken here

The organization here gets the name that it has on GitHub. If nothing here has that name, the import makes the organization, and you are its owner.

If the name is taken, the line above the list tells you which case you are in:

Who has the name hereWhat the import does
An organization that you own hereIt goes into that organization. Only its empty profile fields get the values from GitHub.
An organization that another person imported from the same GitHub organizationIt stops. Ask that person for access.
An organization or an account that was made before organization imports started hereIt stops, and the organization or the account keeps the name.
A newer organization of another personIt deletes that organization and its repositories. You must check I understand first.
A newer account of another personIt renames that account to the name with -1 after it, or the next free name. Its repositories move with it. You must check I understand first.

Import everything never deletes or renames an account of another person. It skips the organization, and its summary and run page tell you to import it from the chooser on this page.