]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-config.txt
doc/git-config: explain --file instead of referring to GIT_CONFIG
authorJeff King <peff@peff.net>
Wed, 14 Jul 2021 21:37:29 +0000 (17:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Jul 2021 21:55:06 +0000 (14:55 -0700)
commit4bb9eb5f91102f1df4f5d47cf7d78ed67307f144
tree0b6b35262e871b2ef2baa4d85e3d2e23fba50fa0
parentebf3c04b262aa27fbb97f8a0156c2347fecafafb
doc/git-config: explain --file instead of referring to GIT_CONFIG

The explanation for the --file option only refers to GIT_CONFIG. This
redirection to an environment variable is confusing, but doubly so
because the description of GIT_CONFIG is out of date.

Let's describe --file from scratch, detailing both the reading and
writing behavior as we do for other similar options like --system, etc.

Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt