git-open - a shell script
git-open is a fantastic tool. It allows you to open a repo website in your browser. It supports Linux, Mac, and Windows, and supports GitHub, GitLab, and Bitbucket.
git open to open a repo website in your browser.
You can open a commit:
git open --commit
Or an issue, if your branches use a naming convention of issues/#123:
git open --issue
I find this tool to be so useful, I've aliased it to one key:
alias o='git open'
See the readme installation guide for setup instructions.
Sublime Text integration
Check out the Git Open package, which adds
git-open commands to the Command Palette.