Just started using git worktree and do not get how Sublime Merge integrates with it.
I am currently doing some work on a feature branch of my repo and executed:
git worktree add ../develop develop
to continue some other development in main develop branch not associated with the feature one.
So now I have two directories each one on a different branch:
~/my-project/develop [branch develop]
~/my-project/repo [branch feature-x]
I do not see anything on Sublime Merge UI for worktree, which I find coherent.
But if I try to load via File | Open Repository
and select the develop path, I get a Windows Dialog with the text:
~/my-project/develop
doesn’t look like a git repository.
That message kind of matches with this other thread:
Is git worktree
already supported in Sublime Merge?
If so, how does it work?
By the way, I have a paid license.
Best Regards.