🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@vtian/git-branch-clear

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtian/git-branch-clear

git-branch-clear

npmnpm
Version
0.0.4
Version published
Weekly downloads
14
180%
Maintainers
1
Weekly downloads
 
Created
Source

@vtian/git-branch-clear

更加方便的删除分支,支持批量删除

Tips

批量删除默认不可删除的分支包括:

  • 当前分支
  • master
  • dev
  • uat
  • test
  • pre

Usage

npm i -g @vtian/git-branch-clear

gitb -l # 本地分支列表
gitb -lr # 远程分支列表
gitb -la # 所有分支列表

gitb -d <branchName> # 删除指定的本地分支
gitb -dr <branchName> # 删除指定的远程分支
gitb -da # 批量删除分支

FAQs

Package last updated on 07 May 2022

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