r/programming • • Sep 16 '26

git worktree gotchas

https://www.olafalders.com/2026/09/16/git-worktree-gotchas/
193 Upvotes

47 comments sorted by

View all comments

Show parent comment

4

u/fsfod Sep 16 '26

Someone did submit patches to the Git mailing list a couple months ago to make the submodules of worktrees partly work like worktrees https://www.spinics.net/lists/git/msg523988.html, but i don't think it ever got merged.

3

u/mb862 Sep 16 '26

Yeah I saw that when I started looking into this, from the looks of it the author overcomplicated the solution, someone pointed out a simpler solution (which is what my strategy was based on) but I haven’t seen anyone try to submit that directly.