railyard/apps/rithub-server/custom/public/assets/seo/move-from-github-5-minutes.html
caelum0x 6801c08af9
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
feat(RIT-OPS,RIT-BRD): rename gitea -> rit everywhere we control, deployed + live-verified
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>
2026-12-01 16:34:39 +03:00

128 lines
9.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Move from GitHub to Rithub in 5 Minutes</title>
<meta name="description" content="A real, step-by-step walkthrough of Rithub's built-in Migrate Repository form: create an account, paste your GitHub repo URL, click once, and your full history is live on Rithub.">
<link rel="canonical" href="https://rithub.dev/assets/seo/move-from-github-5-minutes.html">
<!-- 2026-11-17: per-page OG/Twitter card (none existed before) -- this
page differs from the Rithub homepage, so it gets its own card
instead of inheriting the site default (the Move-from-GitHub card,
not the plain Rithub mark). -->
<meta property="og:type" content="website">
<meta property="og:title" content="Move from GitHub to Rithub in 5 Minutes">
<meta property="og:description" content="A real, step-by-step walkthrough of Rithub's built-in Migrate Repository form: create an account, paste your GitHub repo URL, click once, and your full history is live on Rithub.">
<meta property="og:url" content="https://rithub.dev/assets/seo/move-from-github-5-minutes.html">
<meta property="og:image" content="https://assets.scribase.com/cards/rithub-move-from-github-og-1200x630-1117.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Move from GitHub in minutes — Rithub">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Move from GitHub to Rithub in 5 Minutes">
<meta name="twitter:description" content="A real, step-by-step walkthrough of Rithub's built-in Migrate Repository form.">
<meta name="twitter:image" content="https://assets.scribase.com/cards/rithub-move-from-github-og-1200x630-1117.png">
<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}
.step{margin:20px 0;padding-left:44px;position:relative;min-height:28px}
.step .n{position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:#1a1a1a;color:#fff;font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:center}
.time{font-size:13px;color:#666;font-weight:600}
code{background:#f0f0f0;padding:2px 5px;border-radius:3px;font-size:14px}
pre{background:#f0f0f0;padding:12px;border-radius:4px;overflow-x:auto}
footer{margin-top:60px;font-size:13px;opacity:.7}
</style>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "HowTo",
"dateModified": "2026-11-30",
"name": "Move from GitHub to Rithub in 5 minutes",
"description": "Migrate a repository's full git history from GitHub to a hosted Rithub instance using the built-in Migrate Repository form.",
"totalTime": "PT5M",
"step": [
{"@type": "HowToStep", "name": "Create a Rithub account", "text": "Sign up at rithub.dev/user/sign_up — one captcha, no waiting on approval."},
{"@type": "HowToStep", "name": "Open New Migration", "text": "Click the + menu, then New Migration, and choose GitHub as the source."},
{"@type": "HowToStep", "name": "Paste the clone URL and migrate", "text": "Paste the GitHub repo's clone URL, give it a name, click Migrate Repository. Full commit history, branches, and tags come over intact."},
{"@type": "HowToStep", "name": "Verify the history matches", "text": "Compare the latest commit SHA on both GitHub and Rithub to confirm nothing was dropped."},
{"@type": "HowToStep", "name": "Optional: connect your Ritgram profile", "text": "Add the Rithub repo as a connection in Ritgram Settings so activity shows up on your developer profile."}
]
}
</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>Move From GitHub in 5 Minutes</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>Rithub's built-in migration form moves a repository's full history — every branch, every tag, every commit — in one form submission, no terminal required.</strong> We tested it end to end against a real public GitHub repo: account creation, picking GitHub as the source, pasting a URL, one click to migrate. The migration itself finished well under a minute for a small repo; the whole flow below, done once by a first-timer reading every word, fits inside five minutes.</p>
<h2>The real steps</h2>
<div class="step"><span class="n">1</span><span class="time">~1 min</span><br>
Go to <a href="https://rithub.dev/user/sign_up">rithub.dev/user/sign_up</a> and create an account. One captcha, no waiting on approval — registration is open today.</div>
<div class="step"><span class="n">2</span><span class="time">~30 sec</span><br>
Click the <strong>+</strong> menu in the top bar, then <strong>New Migration</strong>. Pick <strong>GitHub</strong> as the source (GitLab and Codeberg work the same way, for any repo hosted there instead).</div>
<div class="step"><span class="n">3</span><span class="time">under 1 min for a small repo</span><br>
Paste the repo's clone URL (e.g. <code>https://github.com/you/your-repo.git</code>), give it a name, click <strong>Migrate Repository</strong>. Rithub clones the full history server-side and reports back when it's done — no local git client needed for this path.</div>
<div class="step"><span class="n">4</span><span class="time">~30 sec</span><br>
Verify: compare the latest commit SHA on GitHub and on the new Rithub repo. They should match exactly — this is a full mirror, not a partial export.</div>
<div class="step"><span class="n">5</span><span class="time">~1 min, optional</span><br>
If you also want this repo's activity to show up on a developer profile, create a free <a href="https://ritgram.rithub.dev/register">Ritgram</a> account and connect the Rithub repo under Settings → Account. This step is cosmetic — your code already lives on Rithub after step 3.</div>
<h2>Prefer the command line?</h2>
<p>The same migration, done manually, for a repeatable mirror you can re-run later:</p>
<pre>git clone --mirror https://github.com/you/your-repo.git
cd your-repo.git
git push --mirror https://rithub.dev/you/your-repo.git</pre>
<p>Re-run the same <code>git push --mirror</code> line any time you want to re-sync later commits from GitHub.</p>
<h2>What doesn't move automatically</h2>
<p>The migration form brings over git history, and (depending on what you tick) issues, pull requests, and wiki pages where the source supports exporting them. It does not bring over GitHub-specific things that have no git equivalent: GitHub Actions marketplace integrations, branch-protection rule configuration, and org-level settings — those are a one-time manual setup on the new side, not a blocker to moving the code itself.</p>
<a class="cta" href="https://rithub.dev/user/sign_up">Create a Rithub account</a>
<p style="margin-top:12px">Already flagged or suspended on GitHub and need to move urgently? See the <a href="/assets/seo/github-flagged-emergency-checklist.html">emergency checklist</a>.</p>
<footer>Rithub — code hosting. More guides:
<a href="/assets/seo/rithub-vs-github.html">Rithub vs GitHub</a> ·
<a href="/assets/seo/github-alternative-for-teams.html">GitHub alternative for teams</a> ·
<a href="/assets/seo/migrate-from-github-to-hosted-git.html">migrate from GitHub to hosted git</a> ·
<a href="/assets/seo/github-to-rithub-migration-checklist.html">GitHub to Rithub migration checklist</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/is-github-down.html">is GitHub down right now?</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>