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
The argument used to specify the base branch is in gh sherpa create-branch and gh sherpa create-pr is : -b, --base string base branch for checkout. Use the default branch of the repository if it is not set
Both for create-branch and create-pr commands.
But in gh cli the argument with the same meaning is (gh pr create):
-B, --base branch The branch into which you want your code merged
I think that, to keep the coherence in the gh tooling ecosystem and decrease the cognitive load for developers using both tools, sherpa should adopt the uppercase -B argument, deprecating the lowercase -b one.
So the argument in sherpa should be:
-B, --base branch base branch for checkout. Use the default branch of the repository if it is not set
-b (deprecated) Same as -B, --base
This is a minor improvement that keeps compatibility but improves regularity among tools.
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.
-
The argument used to specify the base branch is in
gh sherpa create-branchandgh sherpa create-pris :-b, --base string base branch for checkout. Use the default branch of the repository if it is not setBoth for create-branch and create-pr commands.
But in gh cli the argument with the same meaning is (
gh pr create):-B, --base branch The branch into which you want your code mergedI think that, to keep the coherence in the gh tooling ecosystem and decrease the cognitive load for developers using both tools, sherpa should adopt the uppercase
-Bargument, deprecating the lowercase-bone.So the argument in sherpa should be:
This is a minor improvement that keeps compatibility but improves regularity among tools.
Beta Was this translation helpful? Give feedback.
All reactions