threads / discuss / 3523

Newbie question: git tag failure

Subject: Newbie question: git tag failure

## tl;dr

2 messages between Mar 2, 2006 and Mar 2, 2006.

replies: 1people: 2as markdown or json

Aubrey· Mar 2, 2006, 15:51 UTC · lore

There are two commit. I want to tag one commit by commit id, but failed. Thanks for any hints.

Regards, -Aubrey

aubrey@linux:~/local/mygit> git log
===============================================================
commit a8ac6540cf96f79225cc8457b02cb90d40ac7991
Author: Aubrey.Li <aubrey@linux.site>
Date:   Thu Mar 2 23:34:18 2006 +0800
    add commit log
commit 43368b967bd838292b8cc6b576c5aa13850551cc
Author: Aubrey.Li <aubrey@linux.site>
Date:   Thu Mar 2 22:24:55 2006 +0800
    Initial commit
===============================================================
aubrey@linux:~/local/mygit>git tag -u
43368b967bd838292b8cc6b576c5aa13850551cc v2.5
gpg: directory `/home/aubrey/.gnupg' created
gpg: new configuration file `/home/aubrey/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/aubrey/.gnupg/gpg.conf' are not yet
active during this run
gpg: keyring `/home/aubrey/.gnupg/secring.gpg' created
gpg: keyring `/home/aubrey/.gnupg/pubring.gpg' created
gpg: skipped "43368b967bd838292b8cc6b576c5aa13850551cc": secret key
not available
gpg: signing failed: secret key not available
failed to sign the tag with GPG.
Jan-Benedict Glaw· Mar 2, 2006, 15:54 UTC · re: Aubrey · lore

Re: Newbie question: git tag failure

On Thu, 2006-03-02 23:51:04 +0800, Aubrey <aubreylee@gmail.com> wrote:
Show 12 quoted lines
> aubrey@linux:~/local/mygit>git tag -u
> 43368b967bd838292b8cc6b576c5aa13850551cc v2.5
> gpg: directory `/home/aubrey/.gnupg' created
> gpg: new configuration file `/home/aubrey/.gnupg/gpg.conf' created
> gpg: WARNING: options in `/home/aubrey/.gnupg/gpg.conf' are not yet
> active during this run
> gpg: keyring `/home/aubrey/.gnupg/secring.gpg' created
> gpg: keyring `/home/aubrey/.gnupg/pubring.gpg' created
> gpg: skipped "43368b967bd838292b8cc6b576c5aa13850551cc": secret key
> not available
> gpg: signing failed: secret key not available
> failed to sign the tag with GPG.

You seem to not have a working GnuPG installation, inclusing an (already present) private key. Please first get familiar with GnuPG, then try to use it :-) "gpg --gen-key" may help.

MfG, JBG
-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

← back to recent threads