Matt/D@programming.devtoGit@programming.dev•Git alias idea: "git browse" to open repo in browserEnglish
4·
2 months agoThis 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:\\/\\//\")"
Really funny/interesting that they use an external library to handle a format that they created!