Skip to content

Instantly share code, notes, and snippets.

@srih4ri
Last active May 19, 2016 15:14
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srih4ri/72584f443135bb36d9a7 to your computer and use it in GitHub Desktop.
Save srih4ri/72584f443135bb36d9a7 to your computer and use it in GitHub Desktop.
Github Open (gho)

gho

Gho is a fish shell function :

function gho
  open https://(git config --get remote.origin.url|sed -e s/.git//g|sed s,:,/,g)/$argv
end

With gho, you can :

gho pulls to open pull requests page.

gho issues to open issues page.

gho pull/12 to open pull #12.

gho something to open current directory's repo's URL/something.

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