summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Glasser <glasser@davidglasser.net>2016-08-23 10:33:21 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-23 10:55:58 -0700
commitae1f7094f7a68fcff3d07358d83f5f483f0c300c (patch)
tree8aca694a6c92fedfa907af083f2b45184cd13996
parent0b65a8dbdb38962e700ee16776a3042beb489060 (diff)
downloadgit-dg/document-git-c-in-git-config-doc.tar.gz
doc: mention `git -c` in git-config(1)dg/document-git-c-in-git-config-doc
Signed-off-by: David Glasser <glasser@davidglasser.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-config.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 6843114fc0..636b3eb478 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -263,6 +263,9 @@ The files are read in the order given above, with last value found taking
precedence over values read earlier. When multiple values are taken then all
values of a key from all files will be used.
+You may override individual configuration parameters when running any git
+command by using the `-c` option. See linkgit:git[1] for details.
+
All writing options will per default write to the repository specific
configuration file. Note that this also affects options like '--replace-all'
and '--unset'. *'git config' will only ever change one file at a time*.