Author: Kyle Fuller <kyle@fuller.li> 2024-02-24 19:15:24 +0000 +0000
Committer: Kyle Fuller <kyle@fuller.li> 2024-02-24 19:15:24 +0000 +0000
Commit: 92f420bb5373212a6ce046cb3c63c134e37f6614
Parent: 36e761e1b4c768086922fd15ebf0e53830c876d7
refactor(git): push using ssh keys to github
diff --git a/.gitconfig b/.gitconfig
index c47572fb4a52d3292d61e78b47b6d3e992e42f5e..5e4c64b7f8033c01363ca9d6578515754baf57c0 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -27,5 +27,11 @@
[hub]
protocol = https
-[credential]
- helper = osxkeychain
+[url "git@github.com:kylef"]
+ insteadOf = https://github.com/kylef
+
+[url "git@github.com:"]
+ pushInsteadOf = https://github.com/
+
+[url "git@gist.github.com:"]
+ pushInsteadOf = https://gist.github.com/