1.0.1 • Published 10 months ago

git-delete-branches v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

git-delete-branches

Introduction

A command used to batch delete local Git branches that no longer exist on the remote.

For example, there are three local branches: feature-a is your current branch and has a remote branch; feature-b is a branch whose remote branch is already deleted(e.g. pull request is merged); test is a local branch without any remote branch.

  main
* feature-a
  feature-b
  test

After run the command, the result will be:

* main
  feature-a
  test

Usage

npx git-delete-branches

or

// globally install
npm install -g git-delete-branches

// usage
git delete-branches

System Requirements

This command is available on the following platforms:

  • Linux
  • macOS
1.0.1

10 months ago

1.0.0

10 months ago