
But
Selects selective commit, branch, and history workflows for GitButler's but CLI, replacing git write commands.
- skills.sh installs
- 933
- GitHub stars
- 22K
- last updated
- Aug 21, 2026
What it does
- Covers commits, selective dirty-file or hunk commits, branches, diffs, PRs, history edits, merge, fetch, pull, apply, unapply, and linked worktrees
- Directs inspection with
but difffor selected changes andbut statusorbut status -fvfor stack placement, conflicts, and file IDs - Enforces
butfor all write operations, withgitwrite commands translated tobutequivalents and landed branches refused for mutations - Designed for agents working in shared checkouts, including linked worktrees, where only the IDs or paths they changed should be committed
Install
$ npx -y skills add gitbutlerapp/gitbutler --skill but -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
GitButler CLI Skill
Use GitButler CLI (but) as the default version-control interface.
Start Here
Choose the narrowest first command by task; avoid ritual status checks:
# Selected dirty files/hunks:
but diff
# Commit order, branch/stack placement, conflict overview:
but status
# File IDs, per-commit files, amend details:
but status -fv
# What one applied branch or commit changed, for review:
but diff <branch-or-commit>
# Details for one known branch or commit:
but show <id>
Do not run plain but status and then but status -fv unless the compact output lacks file details needed for the task.
For "commit just/only/specific changes on a new branch", use the fast path:
but diff
but commit -b <branch> -m "<msg>" <id> <id>
but commit -b <branch> ... creates the branch when it does not exist and prints the created commit. Do not run a separate but branch new, status command, or verification diff unless the task needs workspace information that the result does not provide.
Details
- Repository
- github.com/gitbutlerapp/gitbutler
- Category
- Git & Releases
- First seen
- May 16, 2026
Similar to But
More Git & Releases
git-worktreesSkillneolabhq/context-engineering-kit1.2K installsGit worktree commands and workflow patterns for parallel development across multiple branches in separate directories.
git-advanced-workflowsSkillwshobson/agents20.1K installsAdvanced Git techniques for rewriting history, recovering lost work, and isolating regressions safely.
Git CourerMCP serveralejandro-m-p46 starsGit Courer gives agents a safe, structured interface to Git with automatic backups before every mutation.
git-workflowSkillbobmatnyc/claude-mpm-skills576 installsReference guide of Git patterns covering commits, branching, conflicts, history, tags, and recovery commands.
git-best-practicesSkillalleneubank/claude-code149 installsOpinionated git workflow that enforces conventional commits, explicit staging, and safe force-pushing for agents.