From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: can I remove or move a tag in a remote repository?
Date: Wed, 29 Nov 2006 14:46:40 +0100 [thread overview]
Message-ID: <ekk2sh$8ja$1@sea.gmane.org> (raw)
In-Reply-To: Pine.LNX.4.63.0611291220130.30004@wbgn013.biozentrum.uni-wuerzburg.de
Johannes Schindelin wrote:
>> Without even considering any other option, I chose to use a lightweight
>> tag for that purpose, since I have a conceptual view that it's a label I
>> can move from one referent to another. It strikes me as counter-intuitive
>> to use a temporary git "branch" that way. Would that even work, removing
>> it and recreating it all the time?
>
> Yes, it would. Remember: a branch in git is just a named ref. It
> literally used to be a 41-byte file pointing to the tip of the branch in
> the ancestor graph. And you can update it with git-update-ref.
>
> So, a branch in git is very much the movable label you are looking for.
And even if cvs-head does not fast-forward, remember that pu branch also
doesn't fast-forward (usually).
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
next prev parent reply other threads:[~2006-11-29 13:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-19 18:42 can I remove or move a tag in a remote repository? Jim Meyering
2006-11-19 18:54 ` Jakub Narebski
2006-11-28 11:08 ` Andreas Ericsson
2006-11-28 21:46 ` Junio C Hamano
2006-11-29 9:54 ` Johannes Schindelin
2006-11-29 10:55 ` Jim Meyering
2006-11-29 11:45 ` Johannes Schindelin
2006-11-29 13:46 ` Jakub Narebski [this message]
2006-11-29 11:47 ` Andy Whitcroft
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ekk2sh$8ja$1@sea.gmane.org' \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).