Reputation: 1613
I have a repository that has a separate worktree. When I attempt to git pull
it fails with a triple
fatal: Not a git repository (or any parent up to mount point /var/www)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
I'm launching this command from the git folder and not from the worktree.
Upvotes: 1
Views: 85
Reputation: 288
In your worktree add a file .git
containing:
gitdir: /path/to/your/repo/dir
Otherwise, when you init the repo remember to use --separate-git-dir
:
git init --separate-git-dir <git dir>
Upvotes: 2