alexiszamanidis / vscode-git-worktrees

A VS Code extension that wraps git worktree operations for simplicity and productivity
https://marketplace.visualstudio.com/items?itemName=GitWorktrees.git-worktrees
MIT License
44 stars 5 forks source link

Got this error #35

Closed ahmed-rafiullah closed 9 months ago

ahmed-rafiullah commented 9 months ago

"Error: command: 'git worktree add --track -b hotfix /Users/ahmedrafiullah/Desktop/remotebase/hotfix origin/develop'. error: 'Command failed: git worktree add --track -b hotfix /Users/ahmedrafiullah/Desktop/remotebase/hotfix origin/develop\n" + "Preparing worktree (new branch 'hotfix')\n" + "fatal: cannot lock ref 'refs/heads/hotfix': 'refs/heads/hotfix/fix-stuff' exists; cannot create 'refs/heads/hotfix'\n" + "'"

ahmed-rafiullah commented 9 months ago

same branch name is the issue, already had one with the name hotfix before

alexiszamanidis commented 9 months ago

Thank you for bringing this to my attention and for your honesty in acknowledging the issue. I appreciate your willingness to take responsibility. If you have any further questions or need assistance with anything else in the future, please don't hesitate to reach out.