set -o errexit
mkdir multihead.mgit && cd multihead.mgit git init --separate-git-dir=git main.wt
Site in costruction
Git worktrees
Can do with git worktree add
Problems: - Cant create directly - Directories
Solution:
Note: do not call your git directory .git
or tools will detect as repo a
directory that is not
set -o errexit
mkdir multihead.mgit && cd multihead.mgit git init --separate-git-dir=git main.wt
Custom git command