junhoyeo / noah

Manage real-time clones from multiple organizations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Noah (Mirrors)

Usage

Clone this repo or create a new one using this as an template.

git clone https://github.com/junhoyeo/mirrors
cd mirrors/
yarn

Clone your repositories in repositories/*.

git clone https://github.com/mirrorland/some-repo-a ./repositories/some-repo-a
git clone https://github.com/mirrorland/some-repo-b ./repositories/some-repo-b

Or init by cloning all repos from organization.

yarn build
yarn mirrors watch mirrorland
# Update repos
yarn mirrors pull

# Remove branches that are no longer in remote
yarn mirrors prune

# To be implemented later
yarn mirrors push

TODO: Archive repository details by creating noah.json in root

{
  "[org]/[repo]": {
    org: '',
    name: '',
    description: '',
    date?
  }
}

About

Manage real-time clones from multiple organizations


Languages

Language:TypeScript 94.2%Language:JavaScript 5.8%