diff --git a/pkg/cmd/repo/gitignore/view/view.go b/pkg/cmd/repo/gitignore/view/view.go index a679ef946..a3e0125b8 100644 --- a/pkg/cmd/repo/gitignore/view/view.go +++ b/pkg/cmd/repo/gitignore/view/view.go @@ -45,6 +45,12 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman # View the Python gitignore template gh repo gitignore view Python + + # Create a new .gitignore file using the Go template + gh repo gitignore view Go > .gitignore + + # Create a new .gitignore file using the Python template + gh repo gitignore view Python > .gitignore `), Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error {