Skip to content

Tools and information for mirroring existing repositories to the Alt-Repo.

License

Notifications You must be signed in to change notification settings

Earlycrusher/migrate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Migrate

Tools and information for mirroring existing repositories to another repository.

Usage

./migrate <USERNAME> <REPONAME> <DESTREPO>

An organization name can be substituted for the username input field.

Additionally, you must export two environmental variables:

  • GIT_USER: Your GitHub username
  • GIT_TOKEN: Your GitHub token / password

These are required to create the repository via the Git API. Ensure your specified user is privileged enough to do this.

GitHub Action

This repo has a GitHub Action to allow devs to mirror their repositories on-the-fly. This is currently only for moderators with repo access. If you decide to fork this repo, make sure you set the repo secrets AUTH_NAME (GitHub username) and AUTH_KEY (GitHub token / password).

About

Tools and information for mirroring existing repositories to the Alt-Repo.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%