git-prepush-hook

2018-10-11 admin

git-prepush-hook是什么

什么是git-prepush-hook,A really simple pre-push hook.

git-prepush-hook使用教程帮助文档

git-prepush-hook

Dependency Status devDependency Status

A really simple pre-push hook.

This package is completely inspired by https://github.com/nlf/precommit-hook, thank you NLF.

Install

npm install git-prepush-hook

Configuration

Configure the pre-push hooks via your package.json.

{
  "name": "your_project",
  "description": "just an example",
  "scripts": {
    "test": "gulp test"
  },
  "pre-push": ["test"]
}

Bugs or questions? @sturdynut

MIT License

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-42440.html

文章标题:git-prepush-hook

回到顶部