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
If you want to create a worktree for a new branch with a / in it, you can do git prole add -b puppy/doggy, but if a puppy/doggy branch already exists, it errors out.
If you do git prole add puppy/doggy then doggy is used as the branch name.
If you do git prole add -B puppy/doggy, then the puppy/doggy branch is reset to the default branch.
Make it better!
The text was updated successfully, but these errors were encountered:
Proposed design: git prole add -b BRANCH should check out BRANCH if it exists and create it otherwise. -B can still be used to force reset an existing branch.
If you want to create a worktree for a new branch with a
/
in it, you can dogit prole add -b puppy/doggy
, but if apuppy/doggy
branch already exists, it errors out.If you do
git prole add puppy/doggy
thendoggy
is used as the branch name.If you do
git prole add -B puppy/doggy
, then thepuppy/doggy
branch is reset to the default branch.Make it better!
The text was updated successfully, but these errors were encountered: