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 that it's a better solution, but a different solution is that for github at least, the gh cli is fantastic and has commands for opening the repo both in the cli and the browser, and you can also open issues, prs, etc. I have gh prv aliased to open the current branch's PR in the browser.
❯ gh alias list
c: pr create -a @me -f
ca: pr create -a @me -r myteam -f
co: pr checkout
prurl: pr view --json url -q ".url"
prv: pr view -w