Skip to content

Commit d1b82d1

Browse files
authored
Merge pull request cli#10980 from cli/babakks/improve-pr-create-docs
Mention `pr create` will print the created PR's URL
2 parents 19e1178 + 59a585d commit d1b82d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/cmd/pr/create/create.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co
201201
Long: heredoc.Docf(`
202202
Create a pull request on GitHub.
203203
204+
Upon success, the URL of the created pull request will be printed.
205+
204206
When the current branch isn't fully pushed to a git remote, a prompt will ask where
205207
to push the branch and offer an option to fork the base repository. Use %[1]s--head%[1]s to
206208
explicitly skip any forking or pushing behavior.

0 commit comments

Comments
 (0)