dhensby/githubsync

Sync forked github repos

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

This package is auto-updated.

Last update: 2020-05-17 18:46:20 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