Skip to content

Not working with git worktree repo #361

Closed
@vjpr

Description

@vjpr
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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions