Re: "secret key not available". "unable to sign the tag".

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 14 Nov 2008, Jeff King wrote:
> 
> You need to tell git who you are, since it is unable to deduce it from
> doing host lookups. Try:
> 
>   git config --global user.email garyyang6@xxxxxxxxx
> 
> or whatever email address you used when you created the key, and then
> gpg should find it appropriately.

Side note: sometimes you might want to use a different key than the one 
you use for authorship. Then you can use

	[user]
		SigningKey = key

(or "git config user.signingkey xyz" if you don't want to edit the 
config file manually). 

This can be especially useful if you use different keys for different 
projects, even if you want to be known under the same name in both. Or 
because you want to have the local hostname in your commit logs, but your 
gpg key is using some externally visible "official" email address.

			Linus
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux