Last active
August 29, 2015 14:05
-
-
Save Dudemullet/3e97e66b4920c627b7d4 to your computer and use it in GitHub Desktop.
Open any one of your remote git repos in a browser via cli. Great after pushing changes and wanting to create a pull request. Append this to your .gitconfig file
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] | |
web = "!f(){ url=$(git config --get remote.$1.url); git web--browse $url;}; f" | |
# useage | |
# git web origin - open your remote origin repo in the browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment