branch-cleaner

Release Software License Go Report Card Godoc Powered By: GoReleaser

Screenshot

About The Project

A TUI to cleanup local git branches

Built With

Installation

Curl

curl -sfL https://raw.githubusercontent.com/knipferrc/branch-cleaner/main/install.sh | sh

Go

go install github.com/knipferrc/[email protected]

Features

  • Easily delete branches one at a time or in bulk
  • Ability to filter by branch name
  • Protect branches from being deleted

Configuration

  • A config file will be generated at ~/.branch-cleaner.yml when you first run branch-cleaner

settings:
  enable_logging: false
  protected_branches:
    - main
    - master
    - develop
    - dev
    - prod

GitHub

View Github