Skip to content

gh pr create fails: none of the git remotes correspond to GH_HOST #38

Description

@dnyw4l3n13

Repository

credfeto/credfeto-dotnet-repo-tools

Command

gh pr create --repo credfeto/credfeto-dotnet-repo-tools --title "..." --draft --body "..."

Error

could not resolve remote "origin": none of the git remotes configured for this repository correspond to the GH_HOST environment variable. Try adding a matching remote or unsetting the variable

Context

GH_HOST is set to github-api.markridgwell.com (the proxy). The git remote origin is git@github.com:credfeto/credfeto-dotnet-repo-tools.git (SSH). The proxy expects HTTPS remotes but the repo uses SSH.

Trying to create a draft PR for branch feature/144-unit-tests-git-assembly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions