Attached: 1 image
My most used #git alias? "git browse" to open the repo's remote URL in the web browser. Works for #GitHub, #AzureDevOps, #BitBucket, etc. Set it up with:
git config --global alias.browse 'start `git config remote.origin.url`'
"start" only works on Windows tho.
Requires a https (not ssh) remote git URL.
The screenshot shows additional "echo" code in the .gitconfig file because I like my git aliases to display the actual code they are executing before they run it.
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 commandbrowse = "!open $(git config remote.origin.url | sed \"s/:/\\//;s/git@/https:\\/\\//\")"