Skip to content

Commit 2b5c3b5

Browse files
committed
document fork default branch behavior
1 parent 7448aed commit 2b5c3b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pkg/cmd/pr/create/create.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co
214214
Upon success, the URL of the created pull request will be printed.
215215
216216
When the current branch isn't fully pushed to a git remote, a prompt will ask where
217-
to push the branch and offer an option to fork the base repository. Use %[1]s--head%[1]s to
217+
to push the branch and offer an option to fork the base repository. Any fork created this
218+
way will only have the default branch of the upstream repository. Use %[1]s--head%[1]s to
218219
explicitly skip any forking or pushing behavior.
219220
220221
%[1]s--head%[1]s supports %[1]s<user>:<branch>%[1]s syntax to select a head repo owned by %[1]s<user>%[1]s.

0 commit comments

Comments
 (0)