🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

branch-fu

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

branch-fu

Command-line utility for cleaning up git branches

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

Branch FU

NPM

Command-line utility for cleaning up git branches

CLI Usage

To use the CLI you need to install as a global package or use npx.

npm i -g branch-fu

options

common across all commands

  • -h, --help show these options
  • -f, --fetch run fetch first
  • -m, --merged <branch> limit to branches already merged with branch (e.g. "origin/master")
  • -x, --pattern <glob> ... limit branches by glob(s) (case insensitive per picomatch)
  • -u, --user <name> limit to branches with last commit by the given user
  • -s, --stale <duration> limit to branches stale since date or duration (per ms)

commands

count

Count the remote branches that match the criteria.

branch-fu count -f -m "origin/master" -u "Guy Dudeson" -s 90days"

report

Find remote branches that match the criteria but collate them by user.

Append a list of emails for a bcc mail out.

branch-fu report -f -m "origin/master" -p "\!origin/release/*"

list

List remote branches that match the criteria.

branch-fu list -f -m "origin/master" -p "\!origin/release/*"

Keywords

git

FAQs

Package last updated on 30 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts