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

how to git a read only directory

From
BLbill lam <cbill.lam@gmail.com>
Date
Jan 21, 2009, 08:33 UTC
Message-ID
<20090121083354.GG6970@b2j>

I want to use git to keep track of files inside /etc but do not want to do it as a super user. Is that possible to put GIT_DIR under my home directory and add public-read files inside /etc? Or that it could be done in some other ways.

Thanks.
-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩164 張喬  書邊事
    調角斷清秋  征人倚戍樓  春風對青塚  白日落梁州
    大漠無兵阻  窮邊有客遊  蕃情似此水  長願向南流
Next: Michael J Gruber
Message 1 of 10 in “how to git a read only directory”
  1. bill lamJan 21, 2009
  2. Michael J GruberJan 21, 2009
  3. bill lamJan 21, 2009
  4. Boaz HarroshJan 21, 2009
  5. bill lamJan 21, 2009
  6. Boaz HarroshJan 21, 2009
  7. bill lamJan 22, 2009
  8. Boaz HarroshJan 22, 2009
  9. bill lamJan 22, 2009
  10. Boaz HarroshJan 22, 2009

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.