Script to migrate a repository from one GitHub instance to another.
This was used to migrate our repostories from a GitHub enterprise instance to github.com.
- Clone this repository
git clone [email protected]:dodona-edu/github-migrate.git && cd github-migrate
- Install dependencies
npm install
- Copy and edit configuration file
cp config.example.yml config.yml && $EDITOR config.yml
Perform migration (more info about the parameters in config.example.yml) with
npm run start [--source=<source_url>] [--destination=<destination_url>] [--reset] [--overwrite] [--for-real]