Some checks failed
ci / cargo test (abacus) (push) Has been cancelled
ci / cargo test (agent-runtime) (push) Has been cancelled
ci / cargo test (context-passport) (push) Has been cancelled
ci / cargo test (game-economy) (push) Has been cancelled
ci / cargo test (ledgerline) (push) Has been cancelled
ci / cargo test (mint) (push) Has been cancelled
ci / cargo test (rago) (push) Has been cancelled
ci / cargo test (relay) (push) Has been cancelled
ci / node suites (push) Has been cancelled
ci / cargo test (toolgate) (push) Has been cancelled
ci / cargo test (turnstile) (push) Has been cancelled
ci / cargo test (vend) (push) Has been cancelled
apps/gitea -> apps/rithub-server; compose services/containers renamed (rithub-server-app/postgres/act-runner) with explicit project name and volume names pinned to the exact existing Docker volumes (no data loss); our own GITEA_* compose/env var names -> RIT_*; new rit-admin CLI wrapper on railyard-box; giteaSession.mjs/giteaOAuth.mjs/giteaInfo.mjs -> ritSession/ritOAuth/ritInfo across 6 apps; GiteaForgeAdapter -> RitForgeAdapter + giteaSyncService/importGiteaRepos/syncGiteaRepos -> rit* in ritgram (tsc clean); apps/console/lib/gitea.ts -> lib/ritProvision.ts; Go internal/giteaclient -> internal/ritclient in rithub-async-import (go build/test clean); new /auth/rit + /forges/rit/connect routes with /gitea back-compat aliases; locale/swagger/footer/captcha template text scrubbed of remaining "Gitea" strings. Deployed to railyard-box: old containers stopped/removed, /srv/railyard-gitea renamed to /srv/rithub-server with a symlink kept, docker compose up -d from the new path, act_runner network-alias fix for its persisted instance URL. Live-verified: docker compose config diff showed zero unintended value changes, DB row counts unchanged (19 users, 635 repos), full route regression 200/expected, 0 "gitea" in headers/bodies on every checked page, real git clone+push over HTTPS and SSH with a disposable account (deleted after). Deferred on purpose (documented in plans/railyard.md): the forge discriminator / DB column names / Postgres role+volume names (data migrations, not a naming change) and the upstream GITEA__ env-to-ini keys and X-Gitea-* wire headers (hardcoded in the vendored engine binary). See plans/railyard.md RIT-OPS/RIT-BRD entry for the full old->new map and live evidence. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
129 lines
9.1 KiB
HTML
129 lines
9.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>GitHub to Rithub Migration Checklist — Rithub</title>
|
|
<meta name="description" content="A step-by-step checklist for moving a repository, its CI, and its team from GitHub to Rithub, with the exact commands to run and verify at each step.">
|
|
<link rel="canonical" href="https://rithub.dev/assets/seo/github-to-rithub-migration-checklist.html">
|
|
<link rel="stylesheet" href="/assets/css/railyard-brand.css">
|
|
<style>
|
|
body{max-width:760px;margin:0 auto;padding:32px 20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;line-height:1.6;color:#1a1a1a}
|
|
h1{font-size:28px;margin-bottom:8px}
|
|
h2{font-size:20px;margin-top:40px}
|
|
.answer{font-size:18px;padding:16px;border-left:3px solid #444;background:#f6f6f6}
|
|
.cta{display:inline-block;margin-top:16px;padding:12px 20px;background:#1a1a1a;color:#fff;text-decoration:none;border-radius:4px}
|
|
code{background:#f0f0f0;padding:2px 5px;border-radius:3px;font-size:14px}
|
|
pre{background:#f0f0f0;padding:12px;border-radius:4px;overflow-x:auto}
|
|
.checklist{list-style:none;padding-left:0}
|
|
.checklist li{margin-bottom:10px;padding-left:28px;position:relative}
|
|
.checklist li::before{content:"\2610";position:absolute;left:0;font-size:18px;line-height:1.3}
|
|
footer{margin-top:60px;font-size:13px;opacity:.7}
|
|
footer a{margin-right:4px}
|
|
</style>
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "HowTo",
|
|
"dateModified": "2026-11-30",
|
|
"name": "GitHub to Rithub migration checklist",
|
|
"step": [
|
|
{"@type": "HowToStep", "name": "Create a Rithub account", "text": "Signup is self-serve, no request or waitlist -- create a free account before starting."},
|
|
{"@type": "HowToStep", "name": "Create the destination repository", "text": "Create an empty repository on Rithub with the same name as the GitHub repo."},
|
|
{"@type": "HowToStep", "name": "Add Rithub as a second remote", "text": "git remote add rithub https://rithub.dev/<you>/<repo>.git"},
|
|
{"@type": "HowToStep", "name": "Mirror-push everything", "text": "git push rithub --mirror moves every branch and tag in one command."},
|
|
{"@type": "HowToStep", "name": "Verify history matches", "text": "Compare git log, git branch -a, and git tag output between the GitHub and Rithub remotes."},
|
|
{"@type": "HowToStep", "name": "Move CI workflows", "text": "Keep .github/workflows as it is and register a hosted runner."},
|
|
{"@type": "HowToStep", "name": "Export issues and pull requests if needed", "text": "Git history moves automatically; issue/PR metadata needs a separate export since it is not part of git."},
|
|
{"@type": "HowToStep", "name": "Repoint the team", "text": "Update origin, CI config, and webhook URLs on every machine once Rithub is confirmed correct."}
|
|
]
|
|
}
|
|
</script>
|
|
<script>
|
|
(function () {
|
|
try {
|
|
var ua = navigator.userAgent || '';
|
|
var isAutomated =
|
|
navigator.webdriver === true ||
|
|
/HeadlessChrome|Headless Chrome|Playwright|Puppeteer/i.test(ua);
|
|
var optedOut = window.localStorage && window.localStorage.getItem('rithub.qa.optout') === '1';
|
|
window.__rithubInsightsSkip = isAutomated || optedOut;
|
|
} catch (e) {
|
|
window.__rithubInsightsSkip = false;
|
|
}
|
|
window.rithubInsightsFilter = function (type, payload) {
|
|
return window.__rithubInsightsSkip ? null : payload;
|
|
};
|
|
})();
|
|
</script>
|
|
<script defer src="https://insights.ereboslab.com/s.js" data-site="s_FLXojc0pSLRIIJ6ndYp0p-li" data-before-send="rithubInsightsFilter"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>GitHub to Rithub Migration Checklist</h1>
|
|
<p class="updated" style="font-size:13px;color:#666;margin:0 0 16px" data-marker="rit-geo-freshness-2026-11-30">Updated 2026-11-30</p>
|
|
<p class="answer"><strong>Work through this checklist top to bottom.</strong> Each step includes the real command to run on the live Rithub instance ((<code>rithub.dev</code>)) and how to verify it worked before moving to the next one.</p>
|
|
|
|
<h2>The checklist</h2>
|
|
<ul class="checklist">
|
|
<li><strong>Create a Rithub account.</strong> Signup is self-serve at <a href="/user/sign_up">rithub.dev/user/sign_up</a> — no request, no waitlist, no credit card.</li>
|
|
<li><strong>Create the destination repository on Rithub</strong> with the same name as the GitHub repo, before pushing.</li>
|
|
<li><strong>Add Rithub as a second remote</strong> from your existing GitHub clone:
|
|
<pre>git remote add rithub https://rithub.dev/<you>/<repo>.git</pre>
|
|
</li>
|
|
<li><strong>Mirror-push everything in one command:</strong>
|
|
<pre>git push rithub --mirror</pre>
|
|
This moves every branch and tag, not just the branch you have checked out.
|
|
</li>
|
|
<li><strong>Verify the history matches on both remotes:</strong>
|
|
<pre>git log --oneline -5 # same top commits on github and rithub
|
|
git branch -a # same branch list
|
|
git tag # same tag list</pre>
|
|
</li>
|
|
<li><strong>Move CI workflows.</strong> Keep <code>.github/workflows</code> as it is in the repo; most workflow YAML and <code>runs-on:</code> labels carry over unchanged.</li>
|
|
<li><strong>Register a hosted runner</strong> against the Rithub instance (Actions admin settings → generate token → <code>act_runner register</code> + <code>act_runner daemon</code>), then push a small test workflow and confirm it goes <code>queued</code> → <code>running</code> → <code>success</code>.</li>
|
|
<li><strong>Export issues and pull requests if you need them.</strong> They are GitHub-side metadata, not part of git history, so a mirror push never carries them — only the code and commits move automatically.</li>
|
|
<li><strong>Repoint CI config and webhook URLs</strong> that still reference the old GitHub repository URL.</li>
|
|
<li><strong>Repoint every teammate's <code>origin</code></strong> once Rithub is confirmed correct:
|
|
<pre>git remote set-url origin https://rithub.dev/<you>/<repo>.git</pre>
|
|
</li>
|
|
<li><strong>Update README badges and documentation links</strong> that point at the old GitHub URL.</li>
|
|
<li><strong>Decide what to do with the GitHub copy</strong> — archive it, keep it as a read-only mirror, or remove it once the team has fully switched over.</li>
|
|
</ul>
|
|
|
|
<h2>What moves automatically vs. what needs a separate export</h2>
|
|
<pre>Moves with git push --mirror: full commit history, all branches, all tags
|
|
Needs separate export: issues, pull requests, GitHub Actions run history, wiki pages</pre>
|
|
|
|
<h2>Frequently asked questions</h2>
|
|
<p><strong>Can I sign up for Rithub myself?</strong><br>
|
|
Yes — signup is self-serve at <a href="/user/sign_up">rithub.dev/user/sign_up</a>, no request or waitlist. If you'd rather not run the steps below by hand, the <a href="/pricing">migration concierge</a> and the built-in one-click GitHub import (code, history, issues, pull requests, releases, labels, milestones, wiki) can do most of this for you.</p>
|
|
<p><strong>Will I lose any commits?</strong><br>
|
|
No — <code>git push --mirror</code> moves every branch, tag, and commit exactly as it is.</p>
|
|
<p><strong>Do issues and pull requests come over automatically?</strong><br>
|
|
No — those are GitHub metadata, not git history, and need a separate export.</p>
|
|
<p><strong>How do I know the CI migration actually works?</strong><br>
|
|
Push a small test workflow after registering a runner and confirm it reports success via the Actions run status, not just that the runner shows online.</p>
|
|
|
|
<a class="cta" href="https://rithub.dev/user/sign_up">Create a free Rithub account</a>
|
|
<p style="margin-top:12px">See repositories already running on Rithub: <a href="https://rithub.dev/explore/repos">rithub.dev/explore/repos</a>.</p>
|
|
|
|
<footer>Rithub — code hosting. The full walkthrough: <a href="/assets/seo/migrate-from-github-to-hosted-git.html">Migrate from GitHub to hosted git</a>. More guides:
|
|
<a href="/assets/seo/github-alternative-for-teams.html">GitHub alternative for teams</a> ·
|
|
<a href="/assets/seo/gitlab-alternative-hosted.html">GitLab alternative, hosted</a> ·
|
|
<a href="/assets/seo/bitbucket-alternative.html">Bitbucket alternative</a> ·
|
|
<a href="/assets/seo/private-git-hosting-free.html">private git hosting, free</a> ·
|
|
<a href="/assets/seo/github-account-flagged-move-repos.html">GitHub account flagged? move your repos</a> ·
|
|
<a href="/assets/seo/github-flagged-emergency-checklist.html">GitHub flagged: emergency checklist</a> ·
|
|
<a href="/assets/seo/github-actions-alternative-hosted.html">GitHub Actions alternative, hosted</a> ·
|
|
<a href="/assets/seo/git-hosting-with-ci-runners.html">git hosting with built-in CI runners</a> ·
|
|
<a href="/assets/seo/github-copilot-training-opt-out.html">opt out of GitHub Copilot training</a> ·
|
|
<a href="/assets/seo/github-down-alternative.html">alternative to use when GitHub is down</a> ·
|
|
<a href="/assets/seo/github-per-seat-pricing-alternative.html">alternative to GitHub's per-seat pricing</a> ·
|
|
<a href="/assets/seo/gitlab-alternative-free-private-repos.html">GitLab alternative with free private repos</a> ·
|
|
<a href="/assets/seo/codeberg-alternative.html">Codeberg alternative</a> ·
|
|
<a href="/assets/seo/migrate-github-issues-and-pull-requests.html">migrate GitHub issues and pull requests</a>.
|
|
</footer>
|
|
</body>
|
|
</html>
|