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

curious about wording in "man git-config", ENVIRONMENT

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
Jun 26, 2018, 10:18 UTC
Message-ID
<alpine.LFD.2.21.1806260608270.6007@localhost.localdomain>
  ENVIRONMENT
    GIT_CONFIG
      Take the configuration from the given file instead of
      .git/config. Using the "--global" option forces this to
      ~/.gitconfig. Using the "--system" option forces this to
      $(prefix)/etc/gitconfig.
  is the phrase "forces this to" really what you want to use here?
maybe i misunderstand what this option does, doesn't it simply mean
that it will use a different (specified) file from the default,
depending on the context (local, global, system)?
  it just seems weird to say that the option "forces" the use of what
are clearly the default files. thoughts?
rday
-- 
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Next: Jeff King
Message 1 of 4 in “curious about wording in "man git-config", ENVIRONMENT”
  1. Robert P. J. DayJun 26, 2018
  2. Jeff KingJun 26, 2018
  3. Robert P. J. DayJun 26, 2018
  4. Jeff KingJun 28, 2018

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.