Skip to content

Apply stop-parse (--) arg when invoking git commands #12450

Open

Description

@babakks

This is a follow up to a closed security advisory (GHSA-6x7r-grw7-wp8c). The advisory is closed as the provided information doesn't mean there's a security vulnerability.

However, as a better practice, gh can be improved to use the stop-parse arg (--) when passing positional arguments to git commands.

Acceptance Criteria

When gh calls git CLI commands
Then positional arguments are passed after an explicit stop-parse (--) argument

Activity

  1. added
    enhancement
    tech-debt
    core
    on Jan 8, 2026
  2. github-actions commented on Jan 8, 2026

    @github-actions
    Contributor

    Thank you for your issue! We have categorized it as a feature request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.

    Unless you see the help wanted Contributions welcome label, we are not currently looking for external contributions for this feature.

    If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreenhancementstaletech-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions