diff --git a/pkg/cmd/pr/create/create.go b/pkg/cmd/pr/create/create.go index 1c65046d5..f5691a563 100644 --- a/pkg/cmd/pr/create/create.go +++ b/pkg/cmd/pr/create/create.go @@ -588,9 +588,6 @@ func NewCreateContext(opts *CreateOptions) (*CreateContext, error) { return nil, cmdutil.CancelError } else { // "Create a fork of ..." - if baseRepo.IsPrivate { - return nil, fmt.Errorf("cannot fork private repository %s", ghrepo.FullName(baseRepo)) - } headBranchLabel = fmt.Sprintf("%s:%s", currentLogin, headBranch) } }