Re: Feature request: option to not fetch tags for 'git remote' branches
- From
- Frans Pop <elendil@planet.nl>
- Date
- Mar 30, 2010, 08:09 UTC
- Message-ID
- <201003301009.29412.elendil@planet.nl>
- In-Reply-To
- <2010-03-27-20-10-25+trackit+sam@rfc1149.net>
On Saturday 27 March 2010, Samuel Tardieu wrote:
Show 6 quoted lines
> Add a '--no-tags' option to 'git remote add' which adds a > 'remote.REMOTE.tagopt = --no-tags' to the configuration file. > > 'git add -f -n REMOTE' will create a new remote and fetch from it > without importing the tags. Subsequent 'git fetch REMOTE' will also > not import the tags.
Not tested, but looks as if it will do exactly what I had in mind. Thanks!