From 861d3830bbfa284a67e79154fcc1051a1fea3929 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 16 Oct 2022 17:05:49 +0300 Subject: [PATCH] .gitconfig: Fix URLs Add `git@github.com:` and `git@gitlab.com:`. --- .gitconfig | 56 +++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.gitconfig b/.gitconfig index a0e63f1..e38baa0 100644 --- a/.gitconfig +++ b/.gitconfig @@ -252,36 +252,36 @@ fontdiff = -family \"DejaVu Sans Mono\" -size 18 -weight normal -slant roman -underline 0 -overstrike 0 # git:// protocol fixers -#[url "https://git@github.com"] -# insteadOf = "git://github.com" -#[url "https://git@gist.github.com"] -# insteadOf = "git://gist.github.com" -#[url "ssh://git@github.com"] -# insteadOf = "git://github.com" -#[url "ssh://git@gist.github.com"] -# insteadOf = "git://gist.github.com" -#[url "https://git@gitlab.com"] -# insteadOf = "git://gitlab.com" -#[url "https://git@gist.gitlab.com"] -# insteadOf = "git://gist.gitlab.com" -#[url "ssh://git@gitlab.com"] -# insteadOf = "git://gitlab.com" -#[url "ssh://git@gist.gitlab.com"] -# insteadOf = "git://gist.gitlab.com" +#[url "https://github.com/"] +# insteadOf = "git://github.com/" +#[url "https://gist.github.com/"] +# insteadOf = "git://gist.github.com/" +#[url "ssh://git@github.com/"] +# insteadOf = "git://github.com/" +#[url "ssh://git@gist.github.com/"] +# insteadOf = "git://gist.github.com/" +#[url "https://gitlab.com/"] +# insteadOf = "git://gitlab.com/" +#[url "https://gist.gitlab.com/"] +# insteadOf = "git://gist.gitlab.com/" +#[url "ssh://git@gitlab.com/"] +# insteadOf = "git://gitlab.com/" +#[url "ssh://git@gist.gitlab.com/"] +# insteadOf = "git://gist.gitlab.com/" # Protocol changers -#[url "https://git@github.com"] -# insteadOf = ssh://github.com -# insteadOf = ssh://git@github.com +#[url "https://github.com/"] +# insteadOf = ssh://github.com/ +# insteadOf = ssh://git@github.com/ +# insteadOf = git@github.com: -#[url "ssh://git@github.com"] -# insteadOf = https://github.com -# insteadOf = https://git@github.com +#[url "ssh://git@github.com/"] +# insteadOf = https://github.com/ -#[url "https://git@gitlab.com"] -# insteadOf = ssh://gitlab.com -# insteadOf = ssh://git@gitlab.com +#[url "https://gitlab.com/"] +# insteadOf = ssh://gitlab.com/ +# insteadOf = ssh://git@gitlab.com/ +# insteadOf = git@gitlab.com: -#[url "ssh://git@gitlab.com"] -# insteadOf = https://gitlab.com -# insteadOf = https://git@gitlab.com +#[url "ssh://git@gitlab.com/"] +# insteadOf = https://gitlab.com/ -- 2.39.5