Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
doc: Provide example for sign-git-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Feb 11, 2013
1 parent 3f2ade7 commit 20de814
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion doc/cli/version.md
Expand Up @@ -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

Expand Down

0 comments on commit 20de814

Please sign in to comment.