Loading...
Loading...
Commit, push, branch, and manage version control with GitButler. Use for: commit my changes, check what changed, create a PR, push my branch, view diff, create branches, stage files, edit commit history, squash commits, amend commits, undo commits, pull requests, merge, stash work. Replaces git - use 'but' instead of git commit, git status, git push, git checkout, git add, git diff, git branch, git rebase, git stash, git merge. Covers all git, version control, and source control operations.
npx skill4agent add gitbutlerapp/gitbutler butbutbutgit addgit commitgit pushgit checkoutgit mergegit rebasegit stashgit cherry-pickbut status --json--json --status-afterbut status --jsonbut diff --jsonbut show --jsongit checkout--status-afterbut statusgitbutbutbut pull --check --jsonbut pull --json --status-afterbut fetch--helpreferences/reference.md--helpbut status --json
# If new branch needed:
but branch new <name>
# Perform task with IDs from status/diff/show
but <mutation> ... --json --status-afterbut commit <branch> -m "<message>" --changes <id>,<id> --json --status-afterbut commit <branch> -c -m "<message>" --changes <id> --json --status-afterbut amend <file-id> <commit-id> --json --status-afterbut move <source-commit-id> <target-commit-id> --json --status-afterbut pushbut push <branch-id>but pull --check --jsonbut pull --json --status-afterbut status --jsoncliIdbut commit <branch> -c -m "<clear message>" --changes <file-id> --json --status-afterbut status --jsonsrc/a.rssrc/b.rs--changes <a-id>but pushbut push <branch-id>git pushbut pushbut pull --check --jsonbut pull --json --status-afterbut fetchbut statusbut status --jsonstatusbut show <branch-id> --jsonbut amend <file-id> <commit-id> --json --status-aftergit checkoutgit commit --amendbut status --jsonbut move <commit-a> <commit-b> --json --status-afterstatusbut move <commit-b> <commit-a> --json --status-aftergit rebasegit statusbut status --jsongit addgit commitbut commit ... --changes ... --json --status-aftergit checkout -bbut branch new <name>git pushbut pushgit rebase -ibut movebut squashbut rewordgit cherry-pickbut pick--changes--changes--changes a1,b2--changes a1 --changes b2--changes a1 b2git loggit blamebut skill checkbut skill checkbut skill check --updatereferences/reference.mdreferences/concepts.mdreferences/examples.md