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

Re: Strange checkout with GIT_WORK_TREE

From
LRLauri Rooden <lauri@rooden.ee>
Date
Jan 22, 2022, 09:06 UTC
Message-ID
<CAHqym3zW1U5ovFYCzhZesorR5EcF6TS8mUuMmSwUNPiUZX=N5A@mail.gmail.com>
In-Reply-To
<xmqqv8yceldw.fsf@gitster.g>
Thank you Brian and Junio for the extensive explanation!
Now all makes sense and the new (for me) "git worktree" feature seems promising.

I wanted to have $GIT_COPY without .git folder but a .git file does not bother me.

Previously I have checkouted one file this way and then it seemed to work, confusion raised when I tried to switsh to full repo checkout.

Previous: Junio C Hamano
Message 4 of 4 in “Strange checkout with GIT_WORK_TREE”
  1. Lauri RoodenJan 21, 2022
  2. brian m. carlsonJan 21, 2022
  3. Junio C HamanoJan 21, 2022
  4. Lauri RoodenJan 22, 2022

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.