# git worktree

git worktree add <folder> <branch>

Example:

git worktree add ~/Worktrees/project-master master

Then use as any branch/repo and to delete simply delete the folder and run:

git worktree prune

Last Updated: 9/22/2020, 2:16:31 AM