pedrol-cmd

Git Sync — Git skill for Claude Code

Git community

Performs a safe git rebase and resolves conflicts systematically.

How to install Git Sync

Installs to ~/.claude/commands/pedrol-cmd-brain-drin-git-sync.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/pedrol-cmd/brain-drin/HEAD/.claude/commands/git-sync.md -o ~/.claude/commands/pedrol-cmd-brain-drin-git-sync.md

Restart Claude Code, or start a new session, for it to be picked up.

What Git Sync does


description: Performs a safe git rebase and resolves conflicts systematically.

/git-sync

Maintains a clean git history without the headache of manual conflict resolution.

Usage

  1. Runs the rebase onto the target branch.
  2. Automatically identifies and suggests fixes for conflicts.
  3. Verifies build state before finishing.

Specialist Agent

@fullstack-dev

Alternatives in Git

  • Push And Release — Git pull, resolve conflicts, push, fix hook errors, then release 1.6k ★
  • GitHub Review PR — Use when a PR needs full review — resolves merge conflicts with the base first, then fixes CI failures, then a 1.5k ★
  • Cmt — When user uses /cmt slash command, commit current git changes using fast mode by default, or strict mode when 301 ★

Full documentation available on GitHub

View Source Repository