DEV Community

[Comment from a deleted post]
Collapse
 
matthewpersico profile image
Matthew O. Persico

Disk is cheap. I put every new branch in its own same-named worktree. Switching tasks is as easy as a 'cd' command. No stashing, no worrying about what branch am I on because its in my pwd which is in my prompt.