Permalink
Browse files

doc: Provide example for sign-git-tag

  • Loading branch information...
isaacs committed Feb 11, 2013
1 parent 3f2ade7 commit 20de814f550c702136928159255a68d659e23f91
Showing with 10 additions and 1 deletion.
  1. +10 −1 doc/cli/version.md
View
@@ -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

0 comments on commit 20de814

Please sign in to comment.