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