![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/55a4e1dc-a7d0-41e6-88fc-05e1cd3ccab6.png)
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:\\/\\//\")"
Really funny/interesting that they use an external library to handle a format that they created!