Importing an existing project (zip)
Seed an empty repository from a zip archive in one commit.
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}/importdirectly.2. Choose the zip
On Import from zip, click the Zip file input and select a
.zipof your project files. Git history inside the zip is not imported.3. Set the commit message
Edit the Commit message field if you want something other than the default Initial import.
4. Import
Click Import zip. When finished you are redirected to the repository Code tab with your files in the first commit.
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.
