GitHub only counts commits it hosts. gbridge mirrors the commits you author anywhere else onto your contribution graph, 1:1, on their real dates. Only timestamps and opaque IDs leave your machine.
Works with any server you can git clone from.
No API tokens for your work host. gbridge reads commit metadata from the clones you already have.
Scans local repos for commits authored by your work emails, on every branch.
Keeps the author date and an HMAC ID. Code, messages, file names, and emails stay local.
Writes one empty, backdated commit per source commit to a private repo you own. Rerun any time: sync is idempotent.
The maintainer's own graph, 12 months to 2026-11-02: 2,292 commits mirrored from non-GitHub hosts.
Real commits only. gbridge never fabricates activity or pads streaks, so it stays within GitHub's acceptable use policy.
Per commit. Nothing else, ever.
HMAC(secret, email, author time). Without your local secret, nobody links a mirror commit back to its source.Some setups are already counted. Check before you install.
Turn on Include private contributions on my profile and verify your work email.
GitLab, Bitbucket, Gitea, Forgejo, Codeberg, Azure DevOps, on-prem servers, air-gapped boxes.
Needs git and the GitHub CLI logged in. One binary, no daemon.
Then: gbridge init --email you@work.com --scan ~/work, gbridge plan to preview, gbridge sync to mirror. Add gbridge hook install to sync on every push. Binaries for every platform on Releases, with checksums, SBOM, and provenance.
Clone your GitLab repos locally, run gbridge init --email you@work.com --scan ~/work, then gbridge sync. Each commit you authored becomes one empty commit in a private GitHub repo you own, on the same date.
Yes. gbridge reads local clones, so the host doesn't matter: Bitbucket Cloud or Server, Gitea, Forgejo, Codeberg, or a bare repo on a box in a closet.
No. The mirror holds empty commits with a timestamp and an opaque ID. Check your employment contract anyway before mirroring employer work.
No. It mirrors real commits 1:1 on their original author dates. It never invents commits, pads streaks, or edits history.
Run gbridge doctor. Private mirrors need Include private contributions on my profile enabled, and GitHub can take up to 24 hours to update the graph.
Rebase, cherry-pick, and amend keep the author date, so the commit keeps its ID and counts once. A squash merge creates a new commit, which mirrors alongside the original branch commits while they remain in your clone.