logoalt Hacker News

mentalgeartoday at 10:44 AM1 replyview on HN

Re Worktree/Spaces alternative: Why not just open up a new editor window ?

> I usually use it when I’ve got one task I’m working on, but for some reason I cannot proceed on it while eg the CI is running, but I also don’t want to leave the commit and close my code editor etc. It would be simple to just stash everything and later pop the stash, but it still feels disruptive.


Replies

arccytoday at 10:55 AM

your editor works on files on disk. worktrees / workspaces are what manage those files on disk in relation to your git repo.