-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Hey Phil,
Today I sat down and tested the new version you published. Unfortunately I can't create a new worktree, I get this error:
---------------- Error Message ----------------
Error: command: 'git -C C:\.../worktree-1 push -u origin'. error: 'Command failed: git -C C:\.../worktree-1 push -u origin
fatal: The upstream branch of your current branch does not match
the name of your current branch. To push to the upstream branch
on the remote, use
git push origin HEAD:main
To push to the branch of the same name on the remote, use
git push origin HEAD
To choose either option permanently, see push.default in 'git help config'.
To avoid automatically configuring an upstream branch when its name
won't match the local branch, see option 'simple' of branch.autoSetupMerge
in 'git help config'.
I selected main as my tracking branch, and I've got gitWorktree.worktree.shouldPushBranchAutomatically
set to true.
Metadata
Metadata
Assignees
Labels
No labels