Skip to main content
Collaborate at HartSign in

← Back to Help Center

Importing an existing project (zip)

Seed an empty repository from a zip archive in one commit.

  1. 1. Create or open an empty repo

    Import only works when the repository has no commits. New repos show Import a zip on the empty-state screen; you can also open /{owner}/{repo}/import directly.

  2. 2. Choose the zip

    On Import from zip, click the Zip file input and select a .zip of your project files. Git history inside the zip is not imported.

  3. 3. Set the commit message

    Edit the Commit message field if you want something other than the default Initial import.

  4. 4. Import

    Click Import zip. When finished you are redirected to the repository Code tab with your files in the first commit.

  5. 5. If import is blocked

    If you see Import not available, the repository already has commits. Use the CLI (collab push) or the browser editor to add more files instead.