Skip to content

About

Delete local git branches that were already removed on the remote after prune.

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Repository files navigation


git-garbage

It deletes merged/squashed local git branches after deleting them on the remote repository.

Install

npm install --global git-garbage

Usage


git-garbage

A branch checked out in a linked worktree is removed together with its worktree. It is skipped when that worktree has uncommitted changes, is locked, or is the main checkout.

Related

  • git-dirty – Ensures the working directory is clean and that there are no unpulled changes.

License

miconfig © Kiko Beats, released under the MIT License. Logo by Absurd Design.

Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · X @Kikobeats

About

Delete local git branches that were already removed on the remote after prune.

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages