diff --git a/pkg/cmd/auth/setupgit/setupgit.go b/pkg/cmd/auth/setupgit/setupgit.go index c1200b475..0ff7b6903 100644 --- a/pkg/cmd/auth/setupgit/setupgit.go +++ b/pkg/cmd/auth/setupgit/setupgit.go @@ -36,7 +36,7 @@ func NewCmdSetupGit(f *cmdutil.Factory, runF func(*SetupGitOptions) error) *cobr Long: heredoc.Docf(` This command configures %[1]sgit%[1]s to use GitHub CLI as a credential helper. For more information on git credential helpers please reference: - https://git-scm.com/docs/gitcredentials. + . By default, GitHub CLI will be set as the credential helper for all authenticated hosts. If there is no authenticated hosts the command fails with an error. diff --git a/pkg/cmd/repo/create/create.go b/pkg/cmd/repo/create/create.go index 8b5dd515a..28ca0d1e8 100644 --- a/pkg/cmd/repo/create/create.go +++ b/pkg/cmd/repo/create/create.go @@ -93,7 +93,12 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co To create a remote repository from an existing local repository, specify the source directory with %[1]s--source%[1]s. By default, the remote repository name will be the name of the source directory. + Pass %[1]s--push%[1]s to push any local commits to the new repository. + + 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, . `, "`"), Example: heredoc.Doc(` # create a repository interactively