github-sync

Installation
SKILL.md

GitHub Sync

Overview

Use scripts/sync-repo.sh instead of rewriting ad-hoc git fetch and git pull logic. The script resolves the sync target, creates a local tracking branch when needed, and only performs fast-forward updates.

Workflow

  1. Check whether the user wants the remote default branch, a specific branch, or the current branch.
  2. Prefer origin unless the user explicitly asks for another remote.
  3. Run the bundled script:
scripts/sync-repo.sh
scripts/sync-repo.sh --branch main
scripts/sync-repo.sh --current
Installs
4
GitHub Stars
3
First Seen
Mar 9, 2026
github-sync — mindgames/skills