In Git, one can store objects in Git's storage with git hash-object
. That's what I do, to store my public key, which I use to sign Git tags - inspired by this chapter in Git book - http://git-scm.com/book/en/Git-Internals-Git-References#Tags
So, I hash-object
my public key, create an annotated tag for it, and push the tag to a remote. And it is pushed all right. However, when other users pull changes from the remote - they don't see this tag (they see, however, other regular tags pointing to revisions).
So, the question is - is it possible to push to a remote an arbitrary object stored with hash-object
? Or, otherwise, how the junio-gpg-pub
key is actually stored in Git's Git repository?