Re: Feature request: option to not fetch tags for 'git remote' branches
- From
Samuel Tardieu <sam@rfc1149.net>
- Date
- Mar 27, 2010, 19:25 UTC
- Message-ID
- <2010-03-27-20-25-15+trackit+sam@rfc1149.net>
- In-Reply-To
- <2010-03-27-20-10-25+trackit+sam@rfc1149.net>
>>>>> "Sam" == Samuel Tardieu <sam@rfc1149.net> writes:
Sam> Add a '--no-tags' option to 'git remote add' which adds a Sam> 'remote.REMOTE.tagopt = --no-tags' to the configuration file.
Sam> 'git add -f -n REMOTE' will create a new remote and fetch from it Sam> without importing the tags. Subsequent 'git fetch REMOTE' will also Sam> not import the tags.
Sam> Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
I didn't notice that the subject was not appropriate. One can use:
remote add: add a --no-tags (-n) option