git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] doc: mention `git -c` in git-config(1)

From
David Glasser <glasser@davidglasser.net>
Date
Aug 23, 2016, 17:33 UTC
Message-ID
<CAN7QDo+S21T=1zjBEM7rq3epzvVx7GhmTZ5+sgV0BPvNYhvvUg@mail.gmail.com>
Signed-off-by: David Glasser <glasser@davidglasser.net>
---
 Documentation/git-config.txt | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index f163113..83f86b9 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*.
-- 
2.8.1
Next: Junio C Hamano
Message 1 of 5 in “doc: mention `git -c` in git-config(1)”
  1. doc: mention `git -c` in git-config(1)David Glasser, Aug 23, 2016
  2. Junio C HamanoAug 23, 2016
  3. David GlasserSep 12, 2016
  4. Junio C HamanoSep 12, 2016
  5. David GlasserSep 12, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.