News for hackers. Stuff that matters.
Re:Organization Probably Doesn't Want to Improve Things by erano on Saturday October 07, 2023 @11:45PM (#37807704)
The official way to do this is using git worktrees[0], but, as you say, it may not be worth the time to learn if what you have is working for you.

[0] https://git-scm.com/docs/git-worktree

Re:Organization Probably Doesn't Want to Improve Things by pdimitar on Sunday October 08, 2023 @08:47AM (#37809978)
It's not even only that, when you switch to another worktree you catch your language server with its pants down, and some tooling e.g. test watchers are bugging out as well.

I just always found it cleaner to have several directories on the rare occasion I need to work on several branches almost in parallel.

And let's face it, most of us don't work in a repo that is 100GB or above. Even if it was a 10GB I wouldn't care one bit and can easily have 20 copies of it temporarily.