From f50dac53cb49244226297eef1e2e713194d10c78 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Wed, 5 Mar 2025 14:10:31 -0700 Subject: [PATCH] docs(pr create): fix : desc. --- pkg/cmd/pr/create/create.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/pr/create/create.go b/pkg/cmd/pr/create/create.go index 371b14dbe..d6adf7006 100644 --- a/pkg/cmd/pr/create/create.go +++ b/pkg/cmd/pr/create/create.go @@ -629,7 +629,7 @@ func NewCreateContext(opts *CreateOptions) (*CreateContext, error) { isPushEnabled = false targetHeadBranch = opts.HeadBranch // If the --head provided contains a colon, that means - // this is : syntax. + // this is : syntax. if idx := strings.IndexRune(opts.HeadBranch, ':'); idx >= 0 { targetHeadRepoOwner = opts.HeadBranch[:idx] targetHeadBranch = opts.HeadBranch[idx+1:] @@ -666,7 +666,7 @@ func NewCreateContext(opts *CreateOptions) (*CreateContext, error) { return nil, err } - // If the --head provided contains : syntax, we need to use + // If the --head provided contains : syntax, we need to use // the provided owner instead of the owner of the base repository. if targetHeadRepoOwner != "" { prRefs.HeadRepo = ghrepo.New(targetHeadRepoOwner, prRefs.HeadRepo.RepoName()) @@ -675,7 +675,7 @@ func NewCreateContext(opts *CreateOptions) (*CreateContext, error) { // We received the head repository and branch from ParsePRRefs, or inferred // it from --head input, but we need to check if it's up-to-date with // our local branch state. - // If it is, we can use it as the head remote for the PR + // If it is, we can use it as the head repo for the PR // and avoid prompting the user. var headRemote *ghContext.Remote var forkHeadRepo bool