From 2aa7cd04a36bbc8748564434bbd304afd19e72c4 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Sat, 19 Oct 2019 06:25:24 +0500 Subject: [PATCH] git: aliases: ++url --- etc/soft/git/gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/soft/git/gitconfig b/etc/soft/git/gitconfig index 708e004..6e01f5a 100644 --- a/etc/soft/git/gitconfig +++ b/etc/soft/git/gitconfig @@ -59,7 +59,7 @@ # http://gitboard.net board = !gitboard 2>&- - url = !git remote -v | grep fetch | grep -o 'https.* ' + url = !git remote -v | grep fetch | awk '{ print $2 }' hub = "!github_clone() { git clone git://github.com/${1}.git; }; github_clone" nb = "!github_clone() { git clone https://notabug.org/${1}.git; }; github_clone"