Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-02-11 23:52:26 +0400
committerisaacs <i@izs.me>2013-02-11 23:52:26 +0400
commit20de814f550c702136928159255a68d659e23f91 (patch)
tree64c53e4fa2ae9ab8d2883eb0adf0ffc098b50a92 /doc
parent3f2ade79d231e5692d276103e66dd92a11bb9636 (diff)
doc: Provide example for sign-git-tag
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/version.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/cli/version.md b/doc/cli/version.md
index ca9b5fbfa..74d938d6b 100644
--- a/doc/cli/version.md
+++ b/doc/cli/version.md
@@ -27,7 +27,16 @@ resulting version number. For example:
If the `sign-git-tag` config is set, then the tag will be signed using
the `-s` flag to git. Note that you must have a default GPG key set up
-in your git config for this to work properly.
+in your git config for this to work properly. For example:
+
+ $ npm config set sign-git-tag true
+ $ npm version patch
+
+ You need a passphrase to unlock the secret key for
+ user: "isaacs (http://blog.izs.me/) <i@izs.me>"
+ 2048-bit RSA key, ID 6C481CF6, created 2010-08-31
+
+ Enter passphrase:
## SEE ALSO