Skip to content

Instantly share code, notes, and snippets.

@bschandramohan
Created October 22, 2018 19:56
Show Gist options
  • Select an option

  • Save bschandramohan/8ec36e2e4e9198f531cdcc80aa2cee07 to your computer and use it in GitHub Desktop.

Select an option

Save bschandramohan/8ec36e2e4e9198f531cdcc80aa2cee07 to your computer and use it in GitHub Desktop.
Shell command to open git project in browser from terminal
# 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