Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 
 
 
 
 
 
 

README.md

delete-git-branches-tool

A tool to delete local and remote git branches in batch.

Overview

a b

Install

git clone https://github.com/Stanlous/delete-git-branches-tool.git
cd delete-git-branches-tool
sh install.sh # root permission is required

Usage

# delete branches that contain 'test' in the branch name
rm-branch -k test | rm-branch --key test  |  rm-branch --key=test 

# delete branch1、branch2、branch3
rm-branch branch1 branch2 branch3

# force delete branches that contain 'test' in the branch name
rm-branch -f --key test |  rm-branch --force --key test

License

MIT

About

A tool to delete local and remote git branches in batch.

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.