Skip to content

feat(kbve.sh): worktree audit tools#7868

Merged
h0lybyte merged 1 commit intodevfrom
trunk/worktree-audit-tools-1773130968
Mar 10, 2026
Merged

feat(kbve.sh): worktree audit tools#7868
h0lybyte merged 1 commit intodevfrom
trunk/worktree-audit-tools-1773130968

Conversation

@h0lybyte
Copy link
Member

Summary

  • Add -worktree-list to audit all worktrees with clean/dirty/missing status
  • Add -worktree-dirty to show uncommitted changes per worktree
  • Add -worktree-gc to interactively bulk-remove all clean worktrees (handles submodules)
  • Add -worktree-stale to find worktrees already merged into origin/dev

Test plan

  • Run ./kbve.sh -worktree-list and verify output table
  • Run ./kbve.sh -worktree-dirty with dirty worktrees present
  • Run ./kbve.sh -worktree-gc and confirm prompt before deletion
  • Run ./kbve.sh -worktree-stale and verify merged detection

@github-actions
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@h0lybyte h0lybyte merged commit 186bc92 into dev Mar 10, 2026
5 checks passed
@h0lybyte h0lybyte deleted the trunk/worktree-audit-tools-1773130968 branch March 10, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant