Add ssh+gh: alias for git@github.com:... urls

I'm a lazy typist.
This commit is contained in:
Henrik Lissner 2021-04-13 20:27:46 -04:00
parent 6fc9d1ed9a
commit 2153142a13

View file

@ -26,6 +26,8 @@
clean = git-lfs clean -- %f clean = git-lfs clean -- %f
[url "https://github.com/"] [url "https://github.com/"]
insteadOf = gh: insteadOf = gh:
[url "git@github.com:"]
insteadOf = ssh+gh:
[url "git@github.com:hlissner/"] [url "git@github.com:hlissner/"]
insteadOf = gh:/ insteadOf = gh:/
[url "https://gitlab.com/"] [url "https://gitlab.com/"]