Custom pre-push
git hooks to prompt user when pushing to protected branches
git config
is used to set protected branches
Backup existing pre-push
hook
npm >= 5.2.0
bash
$ npx git-protecc branch
$ npx git-protecc branch add <branch>
$ npx git-protecc branch remove <branch>
MIT