Created
April 9, 2015 18:39
-
-
Save humidair1999/f60d5eba3a6112a795f1 to your computer and use it in GitHub Desktop.
Open the current repo's page in your browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# relies on OS X's version of `open` | |
open "http://github.com/$(git remote -v | head -1 | sed -E 's/.*git@github.com:(.*)\.git.*/\1/')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment