From 97b8f89cecb155ae38cbae3d7010531fe0462737 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Thu, 12 Mar 2020 22:14:26 -0400 Subject: git: clone github repos from ssh urls instead of https --- templates/.gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/.gitconfig b/templates/.gitconfig index 543dcd5..5f4e737 100644 --- a/templates/.gitconfig +++ b/templates/.gitconfig @@ -54,3 +54,5 @@ user = benburwell [ghi] token = !security find-internet-password -a benburwell -s github.com -l 'ghi token' -w +[url "ssh://git@github.com/"] + insteadOf = https://github.com/ -- cgit v1.2.3