git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tags disappear
@ 2007-10-28  4:01 James
  2007-10-28  5:05 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: James @ 2007-10-28  4:01 UTC (permalink / raw)
  To: git

Hi all,

Sorry for the dumb question.  Hoping someone can lead me in the right  
direction.

I use git in a pretty basic setup.  One branch, I'm the only user,  
etc.  When I set up a tag (with a command like "git tag v1.1.6"), and  
then push the changes to the server, the tag doesn't remain when I  
clone the tree somewhere else.

Can anyone explain why, and possibly how to keep tags on a push/clone?

Thanks!
.james

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tags disappear
  2007-10-28  4:01 tags disappear James
@ 2007-10-28  5:05 ` Shawn O. Pearce
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn O. Pearce @ 2007-10-28  5:05 UTC (permalink / raw)
  To: James; +Cc: git

James <jtp@nc.rr.com> wrote:
> Sorry for the dumb question.  Hoping someone can lead me in the right  
> direction.
> 
> I use git in a pretty basic setup.  One branch, I'm the only user,  
> etc.  When I set up a tag (with a command like "git tag v1.1.6"), and  
> then push the changes to the server, the tag doesn't remain when I  
> clone the tree somewhere else.
> 
> Can anyone explain why, and possibly how to keep tags on a push/clone?

You need to push the tag to the server with:
  git push server tag v1.1.6

But you should make such takes annotated with "git tag -a" so they
are proper objects in their own right, rather than just refs pointing
at commits.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-28  5:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-28  4:01 tags disappear James
2007-10-28  5:05 ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).