summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar David Glasser <glasser@davidglasser.net>2016-08-23 10:33:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-23 10:55:58 -0700
commitae1f7094f7a68fcff3d07358d83f5f483f0c300c (patch)
tree8aca694a6c92fedfa907af083f2b45184cd13996 /Documentation
parentGit 2.8.4 (diff)
downloadtgif-ae1f7094f7a68fcff3d07358d83f5f483f0c300c.tar.xz
doc: mention `git -c` in git-config(1)
Signed-off-by: David Glasser <glasser@davidglasser.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-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*.