Skip to content

Instantly share code, notes, and snippets.

View leemeichin's full-sized avatar
:shipit:

Lee Meichin leemeichin

:shipit:
View GitHub Profile
@leemeichin
leemeichin / README.md
Created March 6, 2020 17:47
worktree.sh

Usage:

worktree init master sets your repo up for worktrees. e.g. if you have a repo called noel-edmonds the result would become this:

/noel-edmonds # container directory for your worktrees
  |- /master # main worktree branch (do not check out new branches from here!)
    |- .git/