Merge pull request #10112 from heaths/gh-merge-base-docs

Document how to set gh-merge-base
This commit is contained in:
Tyler McGoffin 2024-12-23 11:51:10 -08:00 committed by GitHub
commit 7357bad2d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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