dhensby/githubsync

Sync forked github repos

Installs: 17

Dependents: 0

Suggesters: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 3

Type:project

v0.4.0 2018-08-20 13:23 UTC

README

Sync your forked repositories with their upstream parents.

Installation

composer global require dhensby/githubsync

Usage

githubsync repository:update <organisation/username> [<repository>...]

Supply your GitHub username or organisation name and optionally the repositories you want to update (if none provided assume all forked repositories).

Options

Option Behaviour
--add-missing Add any branches present in the upstream repo that aren't present in the fork
--force Force any updates to branches when the branches have diverged
--rewind Force any updates to branches when the change is a rewind
--from-source Update from the root source repo rather than the parent; this only applies if your repo forked a fork of an upstream and will cause the root repo to be used as the source of commits