Skip to content

Instantly share code, notes, and snippets.

View Y0D4RK's full-sized avatar
💜

Gauthier Y0D4RK

💜
View GitHub Profile
@Y0D4RK
Y0D4RK / migrate_repo.sh
Created June 9, 2018 11:53 — forked from mariozig/migrate_repo.sh
Migrate repo from GitLab to GitHub Full blog post @ http://ruby.zigzo.com/2015/03/23/moving-from-gitlab-to-github/
# Assume we are in your home directory
cd ~/
# Clone the repo from GitLab using the `--mirror` option
$ git clone --mirror [email protected]:mario/my-repo.git
# Change into newly created repo directory
$ cd ~/my-repo.git
# Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks.