• Matt/D@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 months ago

    This is how I was able to get ssh urls to work into something GitHub can open in the browser. Other sites may need more adjustments

    Also, open is the Mac command

    	browse = "!open $(git config remote.origin.url | sed \"s/:/\\//;s/git@/https:\\/\\//\")"