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

RE: /etc/git/

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Dec 26, 2024, 17:20 UTC
Message-ID
<015f01db57ba$7c9e14f0$75da3ed0$@nexbridge.com>
In-Reply-To
<lwjb3p4mqv6h3mewyh4b5gm4gs6omfapmbd34roexs7yujnswv@xwn6oriqdt62>
On December 26, 2024 12:11 PM, Alejandro Colomar wrote:
>I'd like to have all system-wide configuration under a single directory.
>What do you think of adding /etc/git/, and reading a 'config', 'ignore', and
>'attributes' files from there?  /etc/gitconfig and /etc/gitattributes isn't very clean.

Have a look at GIT_CONFIG_SYSTEM documented in https://git-scm.com/docs/git and let us know whether this might work for you.

--Randall
Previous: Alejandro ColomarNext: Alejandro Colomar
Message 2 of 5 in “/etc/git/”
  1. Alejandro ColomarDec 26, 2024
  2. rsbecker@nexbridge.comDec 26, 2024
  3. Alejandro ColomarDec 26, 2024
  4. rsbecker@nexbridge.comDec 26, 2024
  5. Alejandro ColomarDec 31, 2024

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.