git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How can I specify multiple refs on one line in the config file?

From
Steve Hoelzer <shoelzer@gmail.com>
Date
May 7, 2008, 23:58 UTC
Message-ID
<588192970805071658v7a3efab7g5d1c36afc818985d@mail.gmail.com>
In-Reply-To
<18071eea0805071538w1e898ebalf4166b08fe7cfac3@mail.gmail.com>
On Wed, May 7, 2008 at 5:38 PM, Thomas Adam <thomas.adam22@gmail.com> wrote:
Show 11 quoted lines
> 2008/5/7 Miklos Vajna <vmiklos@frugalware.org>:
>>  are you sure pushing tags by default is a good idea? people regularly
>>  create local tags to mark a commit before a rebase, to mark a commit as
>>  a fix for a given bug, etc. those tags aren't interesting for others.
>>  tags which should be pushed usually rare. then you can use git push
>>  origin tag v1.0, since you know which tag you really want to push.
>
> Probably not, which is why '--tags' exists in the first place.  But
> then if you're working from a shared repository (which I am -- as are
> many, no doubt in a corporate environment) it's rather useful.  I
> would find local tags though to be odd.
That's exactly my use case and why I asked the question.

However, now I'm reconsidering because local tags and branches are a great feature to show off git. If the default is to push all tags and branches just like a centralized VCS, it becomes an obstacle to learning how git does it -- and I think that the more people learn about git the more they will like it.

Steve
Previous: Thomas AdamNext: Jeff King
Message 6 of 9 in “How can I specify multiple refs on one line in the config file?”
  1. Steve HoelzerMay 7, 2008
  2. Thomas AdamMay 7, 2008
  3. Steve HoelzerMay 7, 2008
  4. Miklos VajnaMay 7, 2008
  5. Thomas AdamMay 7, 2008
  6. Steve HoelzerMay 7, 2008
  7. Jeff KingMay 7, 2008
  8. Jeff KingMay 7, 2008
  9. Jeff KingMay 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.