Skip to content

Handles SCP-like URLs that don't begin with git@ - #157

Open
MatMaul wants to merge 1 commit into
git-pkgs:mainfrom
MatMaul:generic-scp-url
Open

Handles SCP-like URLs that don't begin with git@#157
MatMaul wants to merge 1 commit into
git-pkgs:mainfrom
MatMaul:generic-scp-url

Conversation

@MatMaul

@MatMaul MatMaul commented Aug 25, 2026

Copy link
Copy Markdown

The SSH user may not be git, for example on GitHub it may look like org-12345 when dealing with org repos.

This would leads to error like that when working on a repository cloned with such a remote URL:

forge pr checkout 14

Error: parsing remote "origin" URL: invalid URL: parse "https://org-12345@github.com:myorg/myrepo.git": invalid port ":myorg" after host

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant