Skip to content
Script to migrate a repository from one GitHub instance to another
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc
.gitignore
LICENSE
README.md
config.example.yml
migrate.ts
package-lock.json
package.json
tsconfig.json

README.md

GitHub Migrate

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.

Installation

  1. Clone this repository
git clone git@github.com:dodona-edu/github-migrate.git && cd github-migrate
  1. Install dependencies
npm install
  1. Copy and edit configuration file
cp config.example.yml config.yml && $EDITOR config.yml

Usage

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]
You can’t perform that action at this time.