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

Re: how to git a read only directory

From
BLbill lam <cbill.lam@gmail.com>
Date
Jan 21, 2009, 15:48 UTC
Message-ID
<20090121154842.GA6966@b2j>
In-Reply-To
<4976F195.9030908@drmicha.warpmail.net>
On Wed, 21 Jan 2009, Michael J Gruber wrote:
> You can use the core.worktree config variable in order to specify a
> worktree (/etc) which is not directly above .git. For your git commands
> to find the .git dir you would need to set GIT_DIR or use the --git-dir
> parameter.
Michael, thanks for pointing out worktree being the trick to use.
-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩267 王翰  涼州詞
    葡萄美酒夜光杯  欲飲琵琶馬上催  醉臥沙場君莫笑  古來征戰幾人回
Previous: Michael J GruberNext: Boaz Harrosh
Message 3 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.