diff options
author | Brendan Warkentin <faazshift@gmail.com> | 2017-06-12 10:07:16 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-08-15 04:22:54 +0300 |
commit | 2dec601c6d5a576751d50efbcf76eaef4deff31e (patch) | |
tree | 9a6bd670ce0e730d1f1d6dc856b412ab5f3a3424 /doc | |
parent | a0fdd15710971234cbc57086cd1a4dc037a39471 (diff) |
version: Adding the ability to control running of git hooks
PR-URL: https://github.com/npm/npm/pull/17142
Credit: @faazshift
Reviewed-By: @iarna
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cli/npm-version.md | 7 | ||||
-rw-r--r-- | doc/misc/npm-config.md | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/cli/npm-version.md b/doc/cli/npm-version.md index f7f50dde8..5a9df4c1f 100644 --- a/doc/cli/npm-version.md +++ b/doc/cli/npm-version.md @@ -93,6 +93,13 @@ to the same value as the current version. Commit and tag the version change. +### commit-hooks + +* Default: true +* Type: Boolean + +Run git commit hooks when committing the version change. + ### sign-git-tag * Default: false diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md index 9ce6b32de..272bfef61 100644 --- a/doc/misc/npm-config.md +++ b/doc/misc/npm-config.md @@ -389,6 +389,13 @@ the git binary. Tag the commit when using the `npm version` command. +### commit-hooks + +* Default: `true` +* Type: Boolean + +Run git commit hooks when using the `npm version` command. + ### global * Default: false |