-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detection of existing worktrees #64
Comments
Hey, this is semi-related to #66. In short, worktree detection with |
I checked the code, and It may be possible to merge multiple worktrees of the same repo into a single config item, but that would make the code very complex and has a few open questions:
I personally do not see the use case (as I have no worktrees that are not managed by |
hi,
I've just started using grm after looking into several git repo tool but this is the first one that seems to support the two features I was looking for : remote and worktree support.
As usual I started without reading the doc with:
grm repos find local ~/nova --format yaml > repositories.yml
and grm was not able to detect my worktrees, or rather it added them as a proper clone, e.g., I ended up with 2 clones of the same project in repositories.yml while on my drive one is a clone and the other a worktree. I think this could be improved somehow ?I read the doc about worktrees https://hakoerber.github.io/git-repo-manager/worktree_working.html and realized the soft was very opiniated and that I need a worktree per branch ~
I wonder if this
is really needed ?
After converting the project and creating one worktree, I tried to relaunch the first command to see if it could register the worktrees but I got:
so the conversion has to be run carefully as it destroyed my previous worktree ?
Is there any technical reason for the worktrees to work as you suggest or is it just personal preference ?
The text was updated successfully, but these errors were encountered: