Skip to content

Instantly share code, notes, and snippets.

@andyvanee
Created October 16, 2014 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyvanee/eef36571adfea3677283 to your computer and use it in GitHub Desktop.
Save andyvanee/eef36571adfea3677283 to your computer and use it in GitHub Desktop.
Open in github
github () {
open `git remote -v | grep github.com | head -n 1 | cut -f 2 | cut -d' ' -f 1 | sed 's/git@/http:\/\//' | sed 's/.git$//' | sed 's/github.com:/github.com\//'`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment