sync · git:20261028.23a83e2 · 2026-10-28 · sha256 35c9a206434890be

sync git:20261028.23a83e2A

Immutable. This exact content never changes and is served at /api/v1/blob/35c9a206434890be.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_3aoq7vk6kqr2ecxw/35c9a206434890bedb48c8961c7c6fe63e9e5de25f3e011d1b54bdcd23ea426b.json

Then /plugin install sync@markdownregistry-3aoq7vk6kqr2ecxw in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: sync
description: Two-way sync the current Git branch with its upstream using merge (pull with merge, then push). Use when asked to sync the branch or codebase; not for rebasing or syncing other branches.
---

# Sync

- Work only on the current branch and its upstream; stop if HEAD is detached or no upstream is set.
- Stop if the working tree has uncommitted or untracked changes; never stash, commit, or discard them.
- Run `git fetch`, then `git merge --no-edit @{u}`; never rebase, force, or reset.
- On merge conflicts, resolve every conflicted file by preserving the intent of both sides, verified against each side's commits; run the project's build or tests when available, then commit the merge. If a conflict's correct resolution cannot be determined, run `git merge --abort` and report that file.
- Report each resolved file and how it was resolved.
- Run `git push` only when the branch is ahead of its upstream; never force-push. If the push is rejected, report it and stop; do not retry.
- Report incoming and outgoing commit counts and the final `git status -sb`.