From command-sync-branch
Syncs current feature branch with latest target branch (default: main) by fetching, rebasing, resolving conflicts, and force-with-lease pushing to origin.
npx claudepluginhub softaworks/agent-toolkit --plugin command-sync-branchtarget1. Fetch latest upstream refs: `git fetch origin --prune`. 2. Identify target branch (default `main`, or override via argument). 3. Rebase current branch onto target: 4. Resolve any conflicts 5. Force-with-lease push to update the PR:
/sync-masterSynchronizes local main/master branch with upstream/origin using rebase. Optionally verifies provided PR merge status and force-pushes if successful.
/syncSynchronizes local Git branch with GitHub PR: fetches remotes, parses PR number or URL, uses gh CLI to view/checkout branch (handles forks).
/rebaseRebases current feature branch onto latest upstream branch, resolves conflicts, runs full test suite, and reports branch details, commits rebased, and conflicts resolved.
/rebaseRebases current branch onto specified feature branch using worktrees and tmux, with automatic conflict resolution. Launches tmux session for monitoring progress.
/sync-branchSafely syncs current branch with main/master: stashes uncommitted changes, fetches latest, rebases (default) or merges, handles conflicts, pops stash, reports status. Accepts merge|rebase arg.
Share bugs, ideas, or general feedback.
git fetch origin --prune.main, or override via argument).git rebase origin/${target:-main}
git push --force-with-lease origin $(git branch --show-current)