Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

ne-sachirou/git-cleanup-branch

Repository files navigation

Build Status

git-cleanup-branch

Small utility to cleanup Git merged branches interactively at both local and remote.

Installation

Supported platforms:

  • MacOS X
  • Linux x86_64

Download a binary from releases.

Or build it by yourself. Latest Crystal is required.

git clone --depth=1 https://github.com/ne-sachirou/git-cleanup-branch.git
cd git-cleanup-branch
make && make install

Usage

cd git_project
git cleanup-branch

demo

CONTRIBUTING

  • Fork the repo.
  • Checkout a new feature branch.
  • Implement a feature.
  • Test the feature.
  • Create a pull request.

Pre-requirements:

  • Latest ver. of Crystal.
  • Latest ver. of Ruby & Bundler.

How to test.

make test

TODO

  • Too many unremoved branches.
  • Windows support.