Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> writes: > On Wed, Jan 24 2018, Junio C. Hamano jotted: > >> Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> writes: >> >>> git -C {} config --replace-all remote.origin.fetch "+refs/tags/*:refs/tags/*" "^\+*refs/tags/\*:refs/tags/\*$" >> >> Shouldn't the last arg be >> >> '^+\*refs/tags/\*:refs/tags/\*$' >> >> instead? > > ^+\* isn't a valid pattern. Yikes, sorry for the noise. You did mean "there might be a plus sign at the beginning, but there may not be".