Document how to set gh-merge-base

Follow-up to PR #9712
This commit is contained in:
Heath Stewart 2024-12-20 10:49:38 -08:00
parent 5402e207ee
commit 78836097c3
No known key found for this signature in database

View file

@ -121,7 +121,8 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co
The base branch for the created PR can be specified using the %[1]s--base%[1]s flag. If not provided,
the value of %[1]sgh-merge-base%[1]s git branch config will be used. If not configured, the repository's
default branch will be used.
default branch will be used. Run %[1]sgit config branch.{current}.gh-merge-base {base}%[1]s to configure
the current branch to use the specified merge base.
Link an issue to the pull request by referencing the issue in the body of the pull
request. If the body text mentions %[1]sFixes #123%[1]s or %[1]sCloses #123%[1]s, the referenced issue