but
仓库创建 2023年1月31日最近提交 1 小时前SkillHot 收录 1 小时前
▸ 精选理由
作为项目首选的版本控制接口,命令覆盖全面且高效。
这个 Skill 做什么
使用 GitButler 的 but CLI 进行提交、分支、补丁等版本控制操作。
它帮你用 GitButler 的 but 命令做提交、分支和精细化的 hunk 级操作,能选择性提交、修改历史、合并或回滚。遇到需要部分文件或局部改动提交、查看 commit 顺序或解决冲突时就用。特色是把常用 git 写操作换成更紧凑的 but 子命令(如 but diff、but status -fv),便于按块提交并查看每个 commit 涉及的文件。
▸ 展开 SKILL.md 英文原文
Commit, push, branch, and manage version control with GitButler. Use for commits, selective dirty-file or hunk commits, branches, diffs, PRs, history edits, squashes, amends, undo, merge, apply, and unapply. For selected dirty files or hunks, inspect with `but diff`; use compact `but status` for commit order, branch/stack placement, or conflict overview; use `but status -fv` when file/hunk IDs or per-commit file details matter. Replaces git write commands.
2.1w
Stars
1.0k
Forks
5
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/gitbutlerapp/gitbutler/master/crates/but/skill/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/gitbutlerapp/gitbutler/master/crates/but/skill/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# 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: ```bash # Selected dirty files/hunks: but diff # Commit order, branch/stack placement, conflict overview: but status # File/hunk IDs, per-commit files, amend/split details: but status -fv # 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/hunk details needed for the task. For "commit just/only/specific changes on a new branch", use the fast path: ```bash but diff but commit -b <branch> -m "<msg>" <id> <id> ``
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有