Expand description
Linked git worktrees, read from git’s own files without running git.
Functions§
- main_
worktree_ root - The main checkout of the linked git worktree at
root, read from git’s own files without running git:<root>/.gitis a file naming the worktree’s git dir, whosegitdirpoints back at that file and whosecommondirnames the repository’s.gitdirectory of the main checkout.Nonefor a main checkout, a bare repository, or files that do not agree with each other.