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 want the default base branch on worktree create to be configurable to origin/main
Right now if I do worktree create it will use the current branch that I'm on to create the branch.
It's also slightly more annoying to have to explicitly set the --base origin/main
I see a previous request for something similar was suggested to use a plugin instead: #397
That being said I feel like this use case isn't to dynamically created based upon origin head.
This is just hardcoding to a very specific primary branch (i.e. main, master, origin/main, origin/master) which I feel is a much more common use case that origin head that may warrant a configuration value.
requested change
Support a configuration in the herdr configuration for a default base branch in case --base is not provided when creating worktree
why you want this
I would like to not have to set the base branch when 95% of my worktrees are meant to be created from the primary origin branch.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
I want the default base branch on worktree create to be configurable to origin/main
Right now if I do worktree create it will use the current branch that I'm on to create the branch.
It's also slightly more annoying to have to explicitly set the --base origin/main
I see a previous request for something similar was suggested to use a plugin instead:
#397
That being said I feel like this use case isn't to dynamically created based upon origin head.
This is just hardcoding to a very specific primary branch (i.e. main, master, origin/main, origin/master) which I feel is a much more common use case that origin head that may warrant a configuration value.
requested change
Support a configuration in the herdr configuration for a default base branch in case --base is not provided when creating worktree
why you want this
I would like to not have to set the base branch when 95% of my worktrees are meant to be created from the primary origin branch.
All reactions