Git worktree

up:: Git

git worktree add ./oursc sites/our-sc
  • Creates a new folder /oursc
  • Copies the entire content of the branch sites/our-sc into /oursc
  • ✨Really handy for checking across branches

To remove:

git worktree prune