From aa9a15594788c0aa44dceb637ae18c51944bebcf Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 14 Mar 2019 18:08:44 +0300 Subject: [PATCH] Feat(git-open): Replace scp URLs with https --- git-open | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-open b/git-open index ebb6e0a..da3561e 100755 --- a/git-open +++ b/git-open @@ -18,4 +18,4 @@ if [ -z "$browser_cmd" ]; then browser_cmd="webbrowser -n" fi -exec $browser_cmd "`git config --get $url_key`" +exec $browser_cmd "`git config --get $url_key | sed 's!^git@\([-A-Za-z0-9._]\+\):!https://\1/!'`" -- 2.39.5