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
Thomas Adam <thomas.adam22@gmail.com>
Date
May 7, 2008, 22:38 UTC
Message-ID
<18071eea0805071538w1e898ebalf4166b08fe7cfac3@mail.gmail.com>
In-Reply-To
<20080507222751.GC23672@genesis.frugalware.org>
2008/5/7 Miklos Vajna <vmiklos@frugalware.org>:
Show 16 quoted lines
>
> On Wed, May 07, 2008 at 05:19:30PM -0500, Steve Hoelzer <shoelzer@gmail.com> wrote:
>  > On Wed, May 7, 2008 at 4:33 PM, Thomas Adam <thomas.adam22@gmail.com> wrote:
>  > > I might be misunderstanding you, but to push tags, there's:
>  > >
>  > > git push --tags
>  >
>  > True, but I only want to type "git push". No, it's not _really_
>  > necessary, but I'd like to set it up that way so I don't have to
>  > depend on my coworkers (new git users) remembering "--tags".
>
>  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.

-- Thomas Adam
Previous: Miklos VajnaNext: Steve Hoelzer
Message 5 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.