Skip to content

Instantly share code, notes, and snippets.

@jkubicek
Created January 3, 2013 07:43
Show Gist options
  • Save jkubicek/4441606 to your computer and use it in GitHub Desktop.
Save jkubicek/4441606 to your computer and use it in GitHub Desktop.
Oneliner bash command for opening the current git repo in github
git config --get remote.origin.url | sed 's#^[^:]*.\([^.]*\)\.git#http://github.com/\1#' | xargs open
@jkubicek
Copy link
Author

jkubicek commented Jan 3, 2013

alias gho=""

gho = 'GitHub Open'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment