Skip to content

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

Merged
jbampton merged 3 commits into
NextCommunity:mainfrom
koushik4475:fix/issue-423-redundant-repo-flag
Oct 26, 2026
Merged

jbampton merged 3 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 9c7b96c...0369e1c 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 26, 2026 9:09p.m. Review ↗
Secrets Oct 26, 2026 9:09p.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.

@jbampton jbampton self-assigned this Oct 26, 2026
@jbampton jbampton added the documentation Improvements or additions to documentation label Oct 26, 2026
@jbampton jbampton moved this to Review in progress in Next Oct 26, 2026
@jbampton jbampton added this to the Hacktoberfest 2026 milestone Oct 26, 2026

@jbampton jbampton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🏂

@github-project-automation github-project-automation Bot moved this from Review in progress to Reviewer approved in Next Oct 26, 2026
@jbampton
jbampton merged commit 226e150 into NextCommunity:main Oct 26, 2026
16 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Next Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation good first issue Good for newcomers hacktoberfest hacktoberfest-accepted markdown

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

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

2 participants