Skip to content

Instantly share code, notes, and snippets.

@kwemi
kwemi / migrate_repo.sh
Created April 4, 2016 20:16 — 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 git@your-gitlab-site.com: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.
Process: OpenEmu [3790]
Path: /Applications/OpenEmu.app/Contents/MacOS/OpenEmu
Identifier: org.openemu.OpenEmu
Version: 1.0.4
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: OpenEmu [3790]
User ID: 501
Date/Time: 2015-11-11 15:23:50.200 +0900