Skip to content

Instantly share code, notes, and snippets.

@cybernetics
Forked from igrigorik/github.bash
Created July 13, 2022 03:37
Show Gist options
  • Save cybernetics/8fc7b658344c8c59dde1ec91a0a720f5 to your computer and use it in GitHub Desktop.
Save cybernetics/8fc7b658344c8c59dde1ec91a0a720f5 to your computer and use it in GitHub Desktop.

Revisions

  1. @igrigorik igrigorik renamed this gist Sep 23, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @igrigorik igrigorik renamed this gist Sep 23, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. @igrigorik igrigorik created this gist Sep 23, 2013.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    alias gh="open \`git remote -v | grep [email protected] | grep fetch | head -1 | cut -f2 | cut -d' ' -f1 | sed -e's/:/\//' -e 's/git@/http:\/\//'\`"