Skip to content

Instantly share code, notes, and snippets.

@rishi832
rishi832 / github.bash
Created September 27, 2018 13:21 — forked from igrigorik/github.bash
Open GitHub URL for current directory/repo...
alias gh="open \`git remote -v | grep [email protected] | grep fetch | head -1 | cut -f2 | cut -d' ' -f1 | sed -e's/:/\//' -e 's/git@/http:\/\//'\`"