Quick Start
Create ~/.github-repo-sync.yaml, validate it, then run grs.
Step 1: Create the Configuration File
Unless another configuration file is specified on the command line, GitHub Repository Sync searches the home directory in this order:
Create ~/.github-repo-sync.yaml if it does not already exist. YAML is the
default and recommended format.
Step 2: Create a Basic Configuration
Property definitions are in the Configuration Reference.
config:
# Base directory used to store cloned repositories.
clone_path: ~/Desktop/GitMaster
clone_protocol: ssh
organisations:
- name: the-lupaxa-project
alias: Lupaxa/TheLupaxaProject
repositories:
- name: .github
alias: github
- name: workflows
- name: brand-assets
Organisation aliases may be a single directory name or a relative path under clone_path. Repository aliases must be a single directory name.
Step 3: Verify the Installation
Step 4: Validate Your Configuration
Preview the resolved plan:
Step 5: Synchronise Your Repositories
To process several repositories at once (default is the CPU count):
The application will:
- Load the configuration.
- Validate the configuration.
- Inspect each configured repository.
- Clone repositories that do not already exist.
- Update repositories that can be safely synchronised.
- Skip repositories that require manual intervention.
- Display a summary when processing has completed.
Per-repository lines report discovery, clone, fetch, fast-forward, skip, validation warnings, and errors. Failures during a first run are listed in Troubleshooting.