opencode-gitbutler 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/command/b-branch-gc.md +8 -0
- package/dist/cmd.d.ts +3 -0
- package/dist/cmd.d.ts.map +1 -0
- package/dist/cmd.js +29185 -0
- package/dist/index.js +58 -11
- package/dist/reword.d.ts.map +1 -1
- package/package.json +9 -3
- package/skill/gitbutler/SKILL.md +55 -0
- package/skill/gitbutler/references/cheatsheet.md +14 -0
- package/skill/gitbutler/references/concepts.md +34 -0
package/command/b-branch-gc.md
CHANGED
|
@@ -6,6 +6,14 @@ description: Clean up empty or orphaned GitButler branches
|
|
|
6
6
|
|
|
7
7
|
Identify and remove empty or orphaned `ge-branch-*` branches that have accumulated from past sessions.
|
|
8
8
|
|
|
9
|
+
## When to Run
|
|
10
|
+
|
|
11
|
+
- **After multi-session work** — each agent session may create `ge-branch-*` branches that become empty after commits are moved or squashed
|
|
12
|
+
- **When `but status` shows 3+ `ge-branch-*` branches** — workspace clutter slows down branch selection and increases lock contention
|
|
13
|
+
- **After `but cursor stop` failures** — the plugin's auto-cleanup has ~12% failure rate; empty branches may persist
|
|
14
|
+
- **When user reports "too many branches"** — proactively offer to run this command
|
|
15
|
+
- **User-named branches are NEVER auto-cleaned** — only `ge-branch-*` pattern branches are candidates
|
|
16
|
+
|
|
9
17
|
## Additional Instructions
|
|
10
18
|
|
|
11
19
|
$ARGUMENTS
|
package/dist/cmd.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd.d.ts","sourceRoot":"","sources":["../src/cmd.ts"],"names":[],"mappings":""}
|