News for hackers. Stuff that matters.
Re:A Git client for simultaneous branches on top of your exi... by reyqn on Tuesday February 13, 2024 @11:53AM (#39359707)
Maybe I don't understand how gitbutler works, but the main reason I use worktrees is actually to keep my IDE and incremental builds getting confused when I switch branches, on branches that have lots of differences. It works really well, and I can fix stuff on old versions of our app in a jiffy.

I wouldn't use gitbutler for what I use worktrees, and I wouldn't use worktrees for what I think gitbutler is aiming at.

Re:A Git client for simultaneous branches on top of your exi... by schacon on Tuesday February 13, 2024 @12:02PM (#39359848)
Since we write out our virtual branch artifacts into refs/gitbutler/X, you could actually pretty easily setup worktrees from each of them to do this type of work on. Perhaps setup a post-commit hook to update any active worktrees automatically too. Might be an interesting way to effectively work on several worktrees from a single working directory.
Re:A Git client for simultaneous branches on top of your exi... by reyqn on Tuesday February 13, 2024 @04:32PM (#39363121)
That's interesting. I'll try this out when windows support ships and keep an eye on it in the meantime.
Re:A Git client for simultaneous branches on top of your exi... by whoopsie on Tuesday February 13, 2024 @07:48PM (#39364935)
That would be brilliant and an instant subscribe from a long time tower user