Documentation ¶ Index ¶ func Get() (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Get ¶ func Get() (string, error) Get returns the path to the .git directory for the current working tree. It resolves gitfiles, submodules, and linked worktrees via git rev-parse, without importing go-git. Types ¶ This section is empty. Source Files ¶ View all Source files gitdir.go Click to show internal directories. Click to hide internal directories.