1.3.9 • Published 6 years ago
git-protecc v1.3.9
git-protecc
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

Getting Started
Requirements
npm >= 5.2.0
bash
Usage
List all protected branches
$ npx git-protecc branchAdd branch to protected branches
$ npx git-protecc branch add <branch>Remove branch from protected branches
$ npx git-protecc branch remove <branch>License
MIT