Skip to content

This script will delete upstream or origin remote repository branch, Need to set keep_keywords, default_branch, protect_branches_arr

License

Notifications You must be signed in to change notification settings

rainysia/git_clean_branch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

git batch clean branch

Usage

This script will help you to clean upstream or origin remote repository branch, It will keep protected_branches,keywords_branches, and delete merged branches. Need to set keep_keywords, default_branch, protect_branches_arr

./xxx/git_branch_clean.sh /xxx/project_folder/ remote_name
./xxx/git_branch_clean.sh /xxx/project_folder/ upstream

git_clean_branch.sh_

Contact

[email protected]

About

This script will delete upstream or origin remote repository branch, Need to set keep_keywords, default_branch, protect_branches_arr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages