Created
February 4, 2015 03:07
-
-
Save PharaohKJ/d62c9ecc48d55a86d020 to your computer and use it in GitHub Desktop.
osxでconsoleにいてworking directoryのgithub上のmasterブランチを開く
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
open `git remote -v|grep origin|grep git@github|head -n1|sed -e 's#origin.*git@\(.*\)\:\(.*\).git.*#https:\/\/\1\/\2\/#'`tree/master/$(pwd |sed -e "s|`git rev-parse --show-toplevel`/||") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
aliasならこれ