Remove worktree stuff, for now.
This commit is contained in:
parent
ac4224804b
commit
58fb1cf3d3
2 changed files with 0 additions and 17 deletions
|
|
@ -7,11 +7,3 @@ List available branches:
|
||||||
|
|
||||||
Check out specific branch:
|
Check out specific branch:
|
||||||
* git checkout <branch name>
|
* git checkout <branch name>
|
||||||
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue