Closed
Description
git subrepo pull packages/public
git-subrepo: Command failed: 'git worktree add .git/tmp/subrepo/packages/public subrepo/packages/public'.
fatal: could not create leading directories of '.git/tmp/subrepo/packages/public/.git': Not a directory
This is because when you create a git worktree
, .git
is a file containing a link to the primary gitdir.