A command line tool to clean up unused git branches
MIT License
A NodeJS-based command line tool to clean up unused git branches
Table of content
This tool is a command line executable, please use Terminal application
npm install -g @duylam/git-branch-clean
cd
to directory of a git repositorygit-branch-clean --help
git-branch-clean
origin
git-branch-clean -r origin
npm install
to install dependencies.npm start
to begin watching file changes and auto build to build
folder.export GBC_DIR=`pwd`
cd
to another dir having git repoDEBUG=git-branch-clean node $GBC_DIR/build/index.js --help
npm run format
to format the code nicernpm run lint
to run static code checkernpm run update-toc
to update the Table of Content in this fileorigin
) git branches for coding, run the script ./scripts/create-dummy-branches.sh at any git repov
at git tag e.g. v0.1.0
main
branch are required to have PR