Hi, I have 2 potential issues that I observed with worktrees when trying something unusual.
I created a bare repo in custom folder named '.localgit' While most of the git commands worked when I provided --git-dir ".localgit" as argument, worktree was looking for '.git'. It worked when I've set GIT_DIR=.localgit Shouldn't they be treated in the same way? Second thing occured after: set GIT_DIR=.localgit git worktree add ..\worktree as this created \worktree\.git file. Could this file be customized to '.localgit' as well? I'm trying to achieve the following setup, but it I'm not sure if it's possible: \repo\.git\... \repo\.localgit\... \worktree1\.git \worktree1\.localgit \worktree1\git_file (stored in git) \worktree1\local_file (stored in localgit) \worktree2\.git \worktree2\.localgit Thanks for your help, Michał -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/0114e901-a5d6-4808-8eaf-511240630504n%40googlegroups.com.