Open
Description
Add this to .gitconfig:
[url "https://github.com/"]
insteadof = gh:
And then clone gh:foo/bar. Repo.remotes.urls will now contain gh:foo/bar
, which is not a URL, rather than the proper expansion.
This currently breaks git-phab, which uses the repository URLs to find the matching repository on the remote server, but fails as nothing matches a non-alias-expanded repository.