Re: Feature request: option to not fetch tags for 'git remote' branches
- From
Björn Steinbrink <b.steinbrink@gmx.de>
- Date
- Mar 24, 2010, 21:35 UTC
- Message-ID
- <20100324213557.GA15639@atjola.homenet>
- In-Reply-To
- <4BAA7F5B.2040400@feurix.com>
On 2010.03.24 22:08:43 +0100, John Feuerstein wrote:
Show 12 quoted lines
> Hello Frans, > > > It would be great to be able to tell 'git remote' to skip tags and only > > fetch the requested branch. A --no-tags option maybe? > > > > AFAIK this is currently not possible, although I'd happy to be proven > > wrong. > > have a look at -n, --no-tags provided by git-fetch, ie. > > $ git remote add ... foo ... > $ git fetch -n foo
And you can set remote.<name>.tagopt to --no-tags to make that the default.
Björn