Skip to content

docs: remove redundant --repo flag from gh pr create example (Fixes #423) - #666

Open
koushik4475 wants to merge 2 commits into
NextCommunity:mainfrom
koushik4475:fix/issue-423-redundant-repo-flag
Open

koushik4475 wants to merge 2 commits into
NextCommunity:mainfrom
koushik4475:fix/issue-423-redundant-repo-flag

Conversation

@koushik4475

Copy link
Copy Markdown
Member

Description

Fixes #423.

When running gh pr create from within a local clone of the repository, the --repo flag is redundant because the GitHub CLI automatically detects the target repository from the git remotes.

Co-authored-by: codedude1010 emailsendervisionexus@gmail.com

Fixes NextCommunity#423. When running gh pr create from within a cloned repository, the GitHub CLI automatically detects the target upstream repository from git remotes.

Co-authored-by: codedude1010 <emailsendervisionexus@gmail.com>
@deepsource-io

deepsource-io Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 06e0e23...c8f3598 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Oct 18, 2026 5:28a.m. Review ↗
Secrets Oct 18, 2026 5:28a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

The --repo flag is redundant when running gh pr create

1 participant