You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create tree based on non checked out branch it always does wrong thing, either a new tree based on local branch or create tree that I would like to create based on but it's not new branch based on what i wanted.
Basically I would like to have this thing works git worktree add -b emergency-fix ../temp non-checked-branch while I'm on main.
Test: :lua require("git-worktree").create_worktree("../fix-a-s", "fix-a-s", "origin/along-side") the along-side branch has 1 additional file(test2.txt)
what I got after run the command(we actually create a tree based on main)
what I expected to get
The text was updated successfully, but these errors were encountered:
I tried to create tree based on non checked out branch it always does wrong thing, either a new tree based on local branch or create tree that I would like to create based on but it's not new branch based on what i wanted.
Basically I would like to have this thing works
git worktree add -b emergency-fix ../temp non-checked-branch
while I'm on main.Test:
:lua require("git-worktree").create_worktree("../fix-a-s", "fix-a-s", "origin/along-side")
the along-side branch has 1 additional file(test2.txt)what I got after run the command(we actually create a tree based on main)
what I expected to get
The text was updated successfully, but these errors were encountered: