🚀 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

latest
npmnpm
Version
0.0.8
Version published
Weekly downloads
15
-6.25%
Maintainers
1
Weekly downloads
 
Created
Source

@vtian/git-branch-clear

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

Install

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

Tips

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

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

Usage


gitb l                  # 查看所有分支列表
gitb ll                 # 查看本地分支列表
gitb lr                 # 查看远程分支列表

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

FAQs

Package last updated on 09 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