sync

Installation
SKILL.md

Sync

Bring the local repository in line with its remote, and say plainly what did not line up.

Read shared/git.md first. Base resolution, force-push rules, and what "merged" means after a rebase all live there.

This skill only fast-forwards. Where a branch has diverged it reports and stops — choosing between rebase, merge, and reset is the user's call, and guessing it destroys work.

1. Fetch

git fetch --all --prune --tags

--prune deletes remote-tracking refs whose upstream is gone. It touches no local branch and no file.

2. Report before writing

Print this before changing anything, from git status --porcelain, git branch --show-current, and git worktree list:

Installs
1
Repository
misoto22/skills
First Seen
Aug 6, 2026
sync — misoto22/skills