Skip to content

research best way to get remote url #3

@jonknapp

Description

@jonknapp

Seems like there are quite a few ways to get the remote url from a project: https://stackoverflow.com/questions/4089430/how-can-i-determine-the-url-that-a-local-git-repository-was-originally-cloned-fr/4089452

There may be a better choice that requires less info (ex: not having to specify origin).

Once a decision is made, make sure more integration tests are added to cover different cases like origin being present or not, etc with the chosen solution. For example git ls-remote --get-url blah will return the name of the passed remote (blah) even if it does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions