From bfd4b0d6bfd323ecc7be3330f19e58659d2e231c Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Mon, 6 Jun 2022 13:43:29 -0500 Subject: [PATCH] Force ssh:// over git:// This stemmed from an issue where an older version of npm wasn't properly resolving git:// repos as well as github-style dependency names. Don't think it'll cause any harm to carry this around between my rigs. --- git/.gitconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git/.gitconfig b/git/.gitconfig index 61a6ba2..c7377a0 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -46,3 +46,6 @@ smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true + +[url "ssh://git@"] + insteadOf = git://