diff --git a/README.md b/README.md index 127f390..0dbacfc 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,3 @@ List available branches: Check out specific branch: * git checkout - - -WORKTREES -========= -Instead of checking out individual branches into the worktree, it is possible to checkout multiple branches into sub-directories to work on concurrently. - -The set up script 'worktrees' in the "master" branch will create the necessary structure and add the worktrees. -This script should only be run once per clone's "master" worktree. diff --git a/worktrees b/worktrees deleted file mode 100755 index c5cfed4..0000000 --- a/worktrees +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# Set up the structure to use worktrees in this clone. - -BRANCHES=("core") - -for BRANCH in "${BRANCHES[@]"; do - mkdir -p "$BRANCH" - git worktree add "./$BRANCH" "origin/$BRANCH" -done