Mirror selected content from cockpit to multiple target repos, excluding private folders. Use when user wants to sync content to other repositories.
Mirror selected content from this repository (theomonfort/cockpit) to multiple target repos, excluding private folders. Performs a full sync — files removed from cockpit are also removed from targets.
| Repo | Purpose |
|---|---|
github/JapanLab | Shared team knowledge base |
theomonfort/theomonfort | Public GitHub profile repo |
Ask Copilot:
Mirror the repo to JapanLab
Or run the script directly:
# Preview what would change (no push)
./scripts/mirror-to-targets.sh --dry-run
# Perform the sync
./scripts/mirror-to-targets.sh
github/JapanLabEverything except:
| Excluded | Reason |
|---|---|
20-notes/ | Personal daily notes |
30-meetings/ | Private meeting notes |
README.md | Cockpit-specific README (targets have their own) |
theomonfort/theomonfortEverything except:
| Excluded | Reason |
|---|---|
20-notes/ | Personal daily notes |
30-meetings/ | Private meeting notes |
50-security-checklists/ | Customer-specific security data |
README.md | Cockpit-specific README (targets have their own) |
github/JapanLab, theomonfort/theomonfort):
main branch) into a temp directory.git)rsync, applying the exclude listmaingh CLI authenticated with push access to all target reposrsync (pre-installed on macOS and most Linux)scripts/mirror-to-targets.sh
None (uses only git, gh, rsync).