Thread (7 messages) 7 messages, 4 authors, 2025-10-01

Re: What is the reason behind not hiding git worktrees from git?

From: Jason Cho <hidden>
Date: 2025-09-27 21:27:01

I think the best practice is to not add a work tre within the master work tree.

Suppose a repo is at the master branch, and you export a work tree in the directory f.

Then, you check out the main repo to another branch which so happens to have a file named f. In this case, the check-out will fail due to the name collision.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help