git-is-branch-protected-cli
v1.0.2
Published
CLI to check whether a Git branch is protected
Downloads
1
Readme
git-is-branch-protected-cli
CLI to check whether current Git branch is protected
Install
$ npm install --global git-is-branch-protected-cli
Usage
$ gibp --help
Usage
gibp [options]
Options
--protected-branches, -b Specify protected branches [Default: master, develop]
--silent, -s Do not show any error messages
Examples
$ gibp -b "master, develop"
$ gibp -b master
Related
- git-is-branch-protected - API for this CLI.
- git-push-pr - Push and open pull request in your default browser.
License
MIT © Tobias Büschel