Step-by-step guide to mirror a GitLab repository to GitHub using SSH deploy keys and a post-receive hook. Covers granting write access via a deploy key, creating a custom post-receive hook that auto-pushes to GitHub on every commit, and configuring GitHub as a remote with mirror mode in the GitLab repo's git config.
Sort: