From: Oleg Broytman Date: Sun, 16 Oct 2022 14:05:49 +0000 (+0300) Subject: .gitconfig: Fix URLs X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=861d3830bbfa284a67e79154fcc1051a1fea3929;p=dotfiles.git .gitconfig: Fix URLs Add `git@github.com:` and `git@gitlab.com:`. --- 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/