Thread
npub16zsllwr
7/18
TIL about git worktree. Instead of doing git stash && git checkout, (make changes, review PR, etc.), then git checkout - && git stash pop you can run git worktree ../myproject mybranch and git will create a new directory with mybranch checked out. Kind of like if you had cloned the project again. When you are done you can git worktree remove ../myproject.