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.
Type git open to open a repo website in your browser.
bash
git openYou can open a commit:
bash
git open --commitOr an issue, if your branches use a naming convention of issues/#123:
bash
git open --issueAn alias
I find this tool to be so useful, I've aliased it to one key:
bash
alias o='git open'Installation
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.