Usage
Using gh-sync
Getting gh-sync
gh-sync
either install it globally
just execute it directly
Arguments
gh-sync has 2 arguments. They're both required and string
source
The repo to get the configurations from. Should be just the owner and repo itself, e.g.: {owner}/{repository}
destination
The repo to update. Should be just the owner and repo itself, e.g.: {owner}/{repository}
Example:
Options
-V, --version
Prints the version number
-h, --help
display help for command
--verbose (default: false)
Runs gh-sync in verbose mode
--token
Auth token to allow gh-sync to do it's thing. Use this if the token is the same for both origin and destination repositories
--token-origin
Auth token of the origin repository, to allow gh-sync to do it's thing
--token-destination
Auth token of the destination repository,to allow gh-sync to do it's thing
You can read more about the options in Options
Last updated
Was this helpful?