Export your Rig Git data
Download every repo you or your organization own as one zip: code, wiki, LFS, releases, issues and pull requests.
Applies to · Web · ~3 min
You can take everything you keep in Rig Git with you at any time. An export is one zip file with each repo’s code and the project around it, built in the background and ready to download when it is done.
Export your account or an organization
- For your own account, open Settings, Export your data, at
git.userig.app/user/settings/export. It exports every repo you own. - For an organization, open the organization’s Settings, Export, at
git.userig.app/org/<org>/settings/export. Only the organization’s owners can export it, and the export holds every repo the organization owns. - Start the export. Rig Git builds it in the background, so you can leave the page.
- When it is ready, the same page shows a download link for the zip.
The download link expires 7 days after the export is ready. After that, start a new export.
What the zip holds
One folder per repo, each with:
- The code, as a mirror of the repo with every branch and tag.
- The wiki, when the repo has one.
- Git LFS objects and release files.
- Issues, pull requests, reviews, comments, labels, milestones and releases, as YAML files you can read or load into another tool.
Export one repo
In the Rig app, open a project whose code lives on Rig Git and choose Export on the project strip or in the Code tab. Pick where to save the zip and Rig downloads it there. Only the repo’s admins can export it.
A repo’s admins can also export a single repo through the Rig API with GET /v1/rig-git/repos/:owner/:repo/export. The answer is a zip with the same layout as above, for that repo only. You can also copy just the code at any time with git clone --mirror.
To bring repos into Rig Git, see Import repositories into Rig Git.