From: Junio C Hamano Date: Sun, 08 Jan 2023 04:35:50 GMT Subject: Re: Did config `branch..fetch` ever exist? Message-ID: In-Reply-To: muzimuzhi Z writes: > Git configuration `branch..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..fetch >> option is used to specify a non-default refspec. > > But I can't find its doc in `git-config`'s doc. Did > `branch..fetch` ever exist? > > Searching in `git-config`'s doc for configs starting with `branch.` or > ending with `.fetch`, it seems `branch..fetch` is a typo of > `remote..fetch`. Correct. Care to send a patch to correct it? Thanks.