Use git ls-remote --get-url $x rather than git config --get remote.$x.url
Works with insteadOf
aliases (which I use) and is available since Git 1.7.5 (Apr 24, 2011). I sent a patch upstream to add --get-push-url
support; it's in 2.6.
Works with insteadOf
aliases (which I use) and is available since Git 1.7.5 (Apr 24, 2011). I sent a patch upstream to add --get-push-url
support; it's in 2.6.