[Ottawa-pm] Git: Tag a remote repo?

Michael P. Soulier msoulier at digitaltorque.ca
Thu Oct 16 17:06:31 PDT 2008


On 16/10/08 Clayton Scott said:

> I've been searching but I haven't had much luck figuring this one out;
> 
> I have cloned a git repo, pushed my changes back to the origin repo and now
> I want to tag the origin.
> 
> I had attempted to do that during the push as:
> 
> git push origin master:/refs/tag/<tagname>
> 
> That's what I thought the man page said would do but it just made a tag in
> my master repo.
> 
> How do I tag the remote? Does anyone know?

Just make your tag locally and then push with the --tags argument.

Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/ottawa-pm/attachments/20081016/1657b78e/attachment.bin>


More information about the Ottawa-pm mailing list