I mainly work inside of a specific subdirectory in my git project. It would be nice to not have to worry about being at the root of the git repo before running gtr to get the correct behavior.
Currently running list in root of git repo:
gtr list
Git Worktrees
BRANCH PATH
------ ----
(detached) [main repo] /projects/testproject
testbranch /projects/testproject/testbranch
If I run it under a subdirectory subDir in the project this is the output:
gtr list
[!] Worktrees are inside repository at: subDir/..-worktrees
[!] Consider adding '/subDir/..-worktrees/' to .gitignore to avoid committing worktrees
Git Worktrees
BRANCH PATH
------ ----
(detached) [main repo] ..