Epistemic Status: seedling Sprouting - This is a zettelkasten-style card about a concept I’m interested in remembering.


Git has a feature called Worktrees that allows you to checkout a branch into a separate directory working tree so that you can quickly switch branches without having to stash changes or make temporary commits to the branch you were on.

This is great for making a quick fix in another branch while you’re in the middle of working on a larger change in a branch.

From So You Think You Know Git Part 2

See also this post on improving the UX of Git Worktrees: Curing A Case of Git - UX