Skip to content

Instantly share code, notes, and snippets.

@joesteele
Created October 19, 2012 19:19
Show Gist options
  • Save joesteele/3920127 to your computer and use it in GitHub Desktop.
Save joesteele/3920127 to your computer and use it in GitHub Desktop.
Easily open Github pages from the command line
function ghub() {
open "http://github.com/$1"
}
# Convenience aliases to open the Backbone.js repo in Github
alias ghubdb='ghub documentcloud/backbone'
alias ghubdbi='ghub documentcloud/backbone/issues'
alias ghubdbp='ghub documentcloud/backbone/pulls'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment