Help us improve
Share bugs, ideas, or general feedback.
From git-tools
Non-interactive git history manipulation using git-branchless. Use when rewording commits, squashing, splitting, reordering, or recovering from mistakes. Provides reliable commands that AI agents can execute without interactive prompts. ALWAYS prefer these commands over git rebase -i, git add -p, or sed-based workarounds.
npx claudepluginhub wgordon17/personal-claude-marketplace --plugin git-toolsHow this skill is triggered — by the user, by Claude, or both
Slash command
/git-tools:git-historyThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides comprehensive reference for git-branchless commands that AI agents can execute reliably without interactive prompts.
Guides technical evaluation of code review feedback: read fully, restate for understanding, verify against codebase, respond with reasoning or pushback before implementing.
Share bugs, ideas, or general feedback.
This skill provides comprehensive reference for git-branchless commands that AI agents can execute reliably without interactive prompts.
Traditional git history commands fail for AI agents because:
git rebase -i opens an editorgit add -p requires interactive hunk selectionsed with GIT_SEQUENCE_EDITOR is platform-dependent and fragilegit revise has no -m flaggit-branchless provides non-interactive alternatives for ALL these operations.
# Install (if not already)
brew install git-branchless
# Initialize in repo (required once per repo)
git branchless init
| Operation | Command | Notes |
|---|---|---|
| Reword | git reword -m "message" <sha> | Non-interactive with -m flag |
| Move | git branchless move -s <src> -d <dest> | Moves commit and descendants |
| Move exact | git branchless move -x <sha> -d <dest> | Moves only specified commit |
| Squash | git branchless move --fixup -x <src> -d <dest> | Experimental |
| Split | Manual reset workflow | See BRANCHLESS.md |
| Create | git branchless record -m "message" | No editor |
| Undo | git branchless undo --yes | No confirmation prompt |
| View | git sl | Smart log (commit graph) |
| Restack | git restack | Repair commit graph after manual ops |
For detailed documentation, see BRANCHLESS.md