diff options
author | Ben Burwell <ben@benburwell.com> | 2020-03-12 22:14:26 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2020-03-12 22:14:26 -0400 |
commit | 97b8f89cecb155ae38cbae3d7010531fe0462737 (patch) | |
tree | 6cb6159997c980e868f3f95e15bb1606b7465fe6 | |
parent | c6f83e8dd046c6b52cc09df327af68e9f516bd4a (diff) |
git: clone github repos from ssh urls instead of https
-rw-r--r-- | templates/.gitconfig | 2 |
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/ |