New advertisers: 50% off your first month with code FIRSTMONTHSee slots

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
View on GitHub

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 diff for selected changes and but status or but status -fv for stack placement, conflicts, and file IDs
  • Enforces but for all write operations, with git write commands translated to but equivalents 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 -y

Installs 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