From: Johannes Sixt Date: Wed, 04 Sep 2024 16:38:04 GMT Subject: Re: `git fetch --refmap=… … ` providing NON-empty to the --refmap ALSO causes Git to ignore the configured refspecs Message-ID: <562614e4-5384-4220-896a-20b3f79771bd@kdbg.org> In-Reply-To: Am 04.09.24 um 13:12 schrieb Han Jiang: > 1. If the doc says "providing an empty to the --refmap > option causes Git to ignore the configured refspecs and rely entirely > on the refspecs supplied as command-line arguments" then it's > reasonable to guess that "providing a non-empty will not do > those". Fair enough. But then in section "Configured Remote-tracking Branches" it is said that "The latter use of the remote..fetch values can be overridden by giving the --refmap= parameter(s) on the command line." So... I dunno. Just my 2c. -- Hannes