git-protecc

1.3.9 • Public • Published

git-protecc

Build Status

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

sample

Getting Started

Requirements

npm >= 5.2.0

bash

Usage

List all protected branches

$ npx git-protecc branch

Add branch to protected branches

$ npx git-protecc branch add <branch>

Remove branch from protected branches

$ npx git-protecc branch remove <branch>

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i git-protecc

Weekly Downloads

16

Version

1.3.9

License

MIT

Unpacked Size

95.3 kB

Total Files

10

Last publish

Collaborators

  • darwintantuco