Skip to content

Instantly share code, notes, and snippets.

Forked from igrigorik/github.bash
Created March 5, 2019 07:46
What would you like to do?
Open GitHub URL for current directory/repo...
alias gh="open \`git remote -v | grep | grep fetch | head -1 | cut -f2 | cut -d' ' -f1 | sed -e's/:/\//' -e 's/git@/http:\/\//'\`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment