Skip to content

Support SSH downloads #3

@ficd0

Description

@ficd0

Usually, if someone has a private repo, they also have SSH access configured for it. Therefore, I think we could make the ability to gitsnip from private repos provider-agnostic (not exclusive to GitHub via API token). Instead, perhaps if the user provides an SSH link for the repo URL, gitsnip can try to clone via SSH -- which will work if the user has the proper keys already set up in their SSH config.

# downloading from private repo with SSH
gitsnip [email protected]:foobar shazbot/file.txt

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