Bulk importing repos via HTTPS

Tags: Flow

This is a step-by-step guide for adding multiple repos via HTTPS. If you are interested in importing a single repo, check out Importing a repo via HTTPS.

Flow only has access to commit data for repos connected to Flow through the Generic Repo HTTPS integration.

Important: Use a service account when bulk importing repos via HTTPS. Learn more about creating a service account.

  1. Click Settings in the top navigation. 
  2. In the left navigation under Integrations, click Integrations.
  3. Click Add Integration in the top right of the Integrations page.
  4. Click Generic Repo from the Integration Provider list.
  5. On the next page, under the HTTPS tab, click Bulk import.
  6. Prepare a .csv file with a list of all of the HTTPS clone URLs of the repos you want to import.

    Tip: If you have a private repository, add the username and password directly to the .csv. Usernames, passwords, and URLS don't need to be encoded in the uploaded files—Flow does this for you. Copy and paste your information into the file. In the example below, repos 3 and 4 are public and don't need a username or password.

  7. Click Choose File and locate the .csv file you created.
  8. Click Test connection.
  9. If your connection and repos were successfully added, click Next.
    If your connection wasn't successful, you'll see an error message like the one below. Download the list of failed repos to understand why they weren't imported and try again.
    Here are a few reasons why some of your repos might fail to import:
    • Clone URL is incorrect
    • User name and/or password are incorrect
    • Repo has already been imported
    • Two-factor authentication is enabled for your Git host. Please use a personal access token.
  10. On the next screen, ensure the repo service toggle is on and click Next.
  11. Next, name your integration to make it easier to find in Flow. Click Create. You've successfully created a new integration and bulk imported your repos via HTTPS.

back to top

If you need help, please contact Pluralsight Support.