Skip to content

Instantly share code, notes, and snippets.

@andreifecioru
andreifecioru / migrate_to_github.py
Last active July 7, 2019 09:58
Migrating git repos to GitHub
#!/usr/bin/env python
import sys
import sh
import json
import requests
from optparse import OptionParser
from contextlib import contextmanager