Created
February 2, 2011 19:04
-
-
Save jletourneau/808186 to your computer and use it in GitHub Desktop.
Extract GitHub URL from Git config file and open with system default web browser
This file contains hidden or 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
perl -ne 'print "https://$1/$2" if (/(github\.com):(.+)\.git/)' .git/config | xargs open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment