Utility to pull - and/or clone if missing on local disk - all repos you have access to from one or more Github organizations. Will also pull
from additional repos that you have already cloned if specified in the configuration file - these do not need to belong to any particular Github organizations.
cargo build --release
; your optimized binary should be in ./target/release/ghopac
cargo install
to place ghopac
in your ${HOME}/.cargo/bin
directory; add to your PATH
if desiredCreate a config file in ${XDG_CONFIG_HOME}/ghopac/config.json
, example below:
{
"concurrency": 4,
"verbose": true,
"github_access_token": "<from step 1>",
"orgs": [
{
"org": "my_github_org",
"path": "/my/base/code/dir/for/my_github_org"
}
],
"syncpoints": [
"/some/other/cloned/repo/dir",
"/yet/another/separately/cloned/repo/dir"
]
}
Run ghopac
orgs
and just use syncpoints
concurrency
if left unspecified will default to 4syncpoints
do not have to belong to any particular Github organization; they are just local directories where you expect git pull
to work correctly