Skip to content

Remote URLs not alias-expanded #571

Open
@fooishbar

Description

@fooishbar

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions