Skip to content

Stanlous/delete-git-branches-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages