Socket
Book a DemoInstallSign in
Socket

b-is-branch

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

b-is-branch

CLI tool for switching/deleting git branches

1.0.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

b-is-branch

CLI tool for switching/deleting git branches.

Install

$ npm install -g b-is-branch

Usage

Show help:

$ b help
Usage: b <command>

  s, switch: Switch branch
  d, delete: Delete branches
  delete-merged: Delete merged branches

Show current status:

$ b
Branches: main test1 test2

Modified files:
 mlx/backend/cuda/cudnn_utils.h | 19 +++++++++++++------
 mlx/backend/cuda/device.cpp    | 14 +-------------

Switch between branches:

$ b s
? Select a branch to checkout: (Use arrow keys)
❯ main (3 days ago)
  test1 (3 days ago)
  test2 (3 days ago)
✔ Select a branch to checkout: test1
Switched to branch 'test1'

Delete selected branches:

$ b d
? Select branches to delete:
❯◯ main (3 days ago)
 ◯ test2 (3 days ago)
✔ Select branches to delete: main, test2
Following branches are going to be deleted:
  1. main
  2. test2
? Delete 2 branches? (Y/n) Yes
All selected branches deleted.

Delete merged branches:

$ b delete-merged
Following branches are going to be deleted:
  1. test1
  2. test2
? Delete 2 branches? (Y/n)

License

Code are released under public domain

Keywords

git

FAQs

Package last updated on 23 Aug 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.