Re: Strange checkout with GIT_WORK_TREE
- From
- Lauri 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.