Terminal-style diagram comparing repository SHAs on GitHub and GitLab, with green arrows for repositories already in sync and one amber dashed arrow for a repository that needs pushing

GitHub changed its dashboard, so I wrote a GitHub→GitLab mirror script

GitHub’s new dashboard became the default and the automatic repository list on the profile page went with it. The replacement is manual — you pin up to 25 favourites yourself. Separately, I found out that GitLab’s GitHub importer creates a new copy of a project on re-import rather than updating it, so it cannot be used as a mirror on the Free tier. So I wrote gh2gl.sh: 846 lines of bash that compare refs on both sides and force-push only what differs. ...

November 23, 2026 · 5 min · Özkan Pakdil