Skip to content

Instantly share code, notes, and snippets.

@ascott1
Created March 5, 2014 14:42
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 ascott1/9368476 to your computer and use it in GitHub Desktop.
Save ascott1/9368476 to your computer and use it in GitHub Desktop.
Open GitHub URL for current directory/repo...
alias go="open \`git remote -v | grep git@github.com | grep fetch | head -1 | cut -f2 | cut -d' ' -f1 | sed -e's/:/\//' -e 's/git@/http:\/\//'\`"
@ascott1
Copy link
Author

ascott1 commented Mar 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment