Quickstart

git-tidy - Git Branch Cleanup

javimosch Updated

File contents

git-tidy - Git Branch Cleanup

Overview

git-tidy tidies up stale git branches. Automatically clean up old and merged branches.

Quick Start

Tidy up branches

sc git-tidy tidy branches

Passthrough to git-tidy CLI

sc git-tidy _ <git-tidy-args>

Key Features

  • Branch Cleanup: Remove stale branches
  • Auto Detection: Identifies old branches
  • Safe Mode: Interactive confirmation
  • Force Delete: Option for force deletion
  • Git Integration: Works with git repositories
  • CLI Tool: Command-line interface

Installation

cargo install git-tidy

Also available via:

  • Homebrew

Usage Examples

Tidy branches interactively

git-tidy

Force delete stale branches

git-tidy --force

Dry run

git-tidy --dry-run

With specific branch pattern

git-tidy --pattern "feature/*"

Notes

  • Run git-tidy --help to see all available options

javimosch/supercli/tree/main/plugins/git-tidy/skills/quickstart commit 2f9b685d29

Frequently asked questions

npx skillmds@latest add javimosch/quickstart-1392