aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2020-03-12 22:14:26 -0400
committerBen Burwell <ben@benburwell.com>2020-03-12 22:14:26 -0400
commit97b8f89cecb155ae38cbae3d7010531fe0462737 (patch)
tree6cb6159997c980e868f3f95e15bb1606b7465fe6
parentc6f83e8dd046c6b52cc09df327af68e9f516bd4a (diff)
git: clone github repos from ssh urls instead of https
-rw-r--r--templates/.gitconfig2
1 files changed, 2 insertions, 0 deletions
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/