Re: Did config `branch.<name>.fetch` ever exist?
muzimuzhi Z <muzimuzhi@gmail.com> writes:
Show 16 quoted lines
> Git configuration `branch.<name>.fetch` is mentioned in the first
> `git-fetch` example [1]:
>
>> - Update the remote-tracking branches:
>> $ git fetch origin
>> The above command copies all branches from the remote
>> refs/heads/ namespace and stores them to the local
>> refs/remotes/origin/ namespace, unless the branch.<name>.fetch
>> option is used to specify a non-default refspec.
>
> But I can't find its doc in `git-config`'s doc. Did
> `branch.<name>.fetch` ever exist?
>
> Searching in `git-config`'s doc for configs starting with `branch.` or
> ending with `.fetch`, it seems `branch.<name>.fetch` is a typo of
> `remote.<name>.fetch`.
Correct. Care to send a patch to correct it?
Thanks.