1.1.1 • Published 3 years ago
@kibibit/dev-tools v1.1.1
Usage
Install globally
npm install --global @kibibit/dev-tools
or locally
npm install --save-dev @kibibit/dev-tools
Then, go into a git project folder and run
kb-prune-merged
to prune local branches that merged and deleted on cloud
Or use this command in your git hooks to prevent accidental commits to protected branches:
kb-disallow-master-commits
for example, husky
package.json
/* ... */
"scripts": {
"disallow-master-commits": "kb-disallow-master-commits"
}
Then, add it as a pre-commit git hook:
npx husky add .husky/pre-commit "npm run disallow-master-commits"
git add .husky/pre-commit
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!
Stay in touch
- Author - Neil Kalman
- Website - https://github.com/kibibit
- StackOverflow - thatkookooguy
- Twitter - @thatkookooguy
- Twitter - @kibibit_opensrc
1.1.1
3 years ago
1.0.0-beta.5
3 years ago
1.1.0
4 years ago
1.0.0-beta.4
4 years ago
1.0.0-beta.3
4 years ago
1.0.1
4 years ago
1.0.0-beta.2
4 years ago
1.0.0
4 years ago
1.0.0-beta.1
4 years ago
0.0.0-development
4 years ago