Created
October 22, 2018 19:56
-
-
Save bschandramohan/8ec36e2e4e9198f531cdcc80aa2cee07 to your computer and use it in GitHub Desktop.
Shell command to open git project in browser from terminal
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
| # Running this in the main directory of a git repo, this command opens up the git project in browser | |
| open "$(grep "url" .git/config | cut -d" " -f3)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment