8000 GitHub - lucienfer/git-branch-cleaner: A CLI tool that analyzes and filters your local Git branches to safely delete inactive or merged ones.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A CLI tool that analyzes and filters your local Git branches to safely delete inactive or merged ones.

Notifications You must be signed in to change notification settings

lucienfer/git-branch-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-branch-cleaner

Functionality

  • ✅ Automatically deletes merged Git branches
  • 🔍 Dry-run mode to preview deletions
  • 🧠 Selection by base branch (main, develop, etc.)

🚀 Installation

cargo install --path .

How to use

git-branch-cleaner --base main --dry-run

Options:

  • --base Specify the base branch used to detect merged branches.
  • --dry-run Display the branches that would be deleted, without actually deleting them.
  • --force Delete branches without asking for confirmation.
  • --interactive Choose which branches to delete one by one.

Tests

cargo test

About

A CLI tool that analyzes and filters your local Git branches to safely delete inactive or merged ones.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No p 2F85 ackages published

Languages

0