Skip to content

Commit

Permalink
Document how to set gh-merge-base
Browse files Browse the repository at this point in the history
Follow-up to PR cli#9712
  • Loading branch information
heaths committed Dec 20, 2024
1 parent 5402e20 commit 7883609
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/pr/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7883609

Please sign in to comment.