From 9558d5b60b190fabb08521518b71bb0a954f0a26 Mon Sep 17 00:00:00 2001 From: nobe4 Date: Thu, 2 Jan 2025 16:53:44 +0100 Subject: [PATCH] docs(repo): make explicit which branch is used when creating a repo This adds a line of documentation in the `gh repo create` command's help specifying which branch for the new repo is selected. --- pkg/cmd/repo/create/create.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/cmd/repo/create/create.go b/pkg/cmd/repo/create/create.go index ec7026759..6e813fe33 100644 --- a/pkg/cmd/repo/create/create.go +++ b/pkg/cmd/repo/create/create.go @@ -99,6 +99,8 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co For language or platform .gitignore templates to use with %[1]s--gitignore%[1]s, . For license keywords to use with %[1]s--license%[1]s, run %[1]sgh repo license list%[1]s or visit . + + The repo is created with the configured repository default branch, see . `, "`"), Example: heredoc.Doc(` # create a repository interactively