Sync forked github repos

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

This package is auto-updated.

Last update: 2023-03-18 01:13:02 UTC


Sync your forked repositories with their upstream parents.


composer global require dhensby/githubsync


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).


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