Conghao97's picture tcftrees's picture
ProgramGen release
d086025
|
Raw History Blame Contribute Delete
1.47 kB

Migrate from GitHub

Migrate your repositories from GitHub to Guts with full history, issues, and pull requests.

Quick Migration

Using the CLI

What Gets Migrated

Content Migrated
Git history Yes
Branches Yes
Tags Yes
Issues Yes
Pull requests Yes
Issue comments Yes
PR comments Yes
Releases Yes
Release assets Yes
Labels Yes
Wiki Optional

Migration Options

Using the Web Wizard

  1. Go to https://guts.network/migrate
  2. Authorize with GitHub
  3. Select repositories to migrate
  4. Review migration options
  5. Click "Start Migration"

Verification

After migration, verify the data:

This checks:

  • Commit count matches
  • Branch count matches
  • Tag count matches
  • Issue count matches
  • PR count matches

Post-Migration

Update Remotes

Set Up Redirect

You can set up a redirect from your old GitHub repository:

  1. Add a prominent notice to the README
  2. Archive the GitHub repository
  3. Add repository description pointing to Guts

Update CI/CD

If you're using GitHub Actions, you can adapt them:

Troubleshooting

Rate Limit Exceeded

If you hit GitHub's rate limit:

Large Repositories

For repositories over 1GB:

Private Repositories

Ensure your GitHub token has repo scope:

  1. Generate a new token with repo scope
  2. Use this token for migration

API

You can also use the migration API directly: