]> git.phdru.name Git - dotfiles.git/commitdiff
.gitconfig: Fix URLs
authorOleg Broytman <phd@phdru.name>
Sun, 16 Oct 2022 14:05:49 +0000 (17:05 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 16 Oct 2022 14:22:15 +0000 (17:22 +0300)
Add `git@github.com:` and `git@gitlab.com:`.

.gitconfig

index a0e63f1b4858a261464865f9efa9836bc2f534ea..e38baa0e704ab3c020dd017f1a57e768c5f791a4 100644 (file)
        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/