]> git.99rst.org Git - git.git/commit
doc: explain fetchRemoteHEADWarn advice
authorMatt Hunter <redacted>
Fri, 19 Jun 2026 09:44:21 +0000 (05:44 -0400)
committerJunio C Hamano <redacted>
Fri, 19 Jun 2026 16:19:35 +0000 (09:19 -0700)
commit54c9d481011b095561099393ac3ef4828de4a329
tree78a00fba185915595328579cc93e916956bbeabf
parent3e09c9e8207eb425ce45863da6bbfe11cd49a765
doc: explain fetchRemoteHEADWarn advice

When the user sets 'remote.<name>.followRemoteHEAD' to
'warn[-if-not-$branch]', git-fetch will report when a fetched HEAD
disagrees with the locally-configured remote's HEAD.  This additional
advice instructs the user how to deal with these warnings, but was
previously undocumented in git-config.

Signed-off-by: Matt Hunter <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/config/advice.adoc
git clone https://git.99rst.org/PROJECT