Last active
October 23, 2024 10:43
-
Star
(112)
You must be signed in to star a gist -
Fork
(20)
You must be signed in to fork a gist
-
-
Save igrigorik/6666860 to your computer and use it in GitHub Desktop.
Open GitHub URL for current directory/repo...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:\/\//'\`" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With Github CLI, this is exactly what I was looking:
gh browse .
Thanks @yohanb 🙏