From c0120045e0747077d581e38efb8bc68a06bcd13d Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 25 Feb 2024 13:40:14 +0800 Subject: Use ssh for github by default --- .gitconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitconfig') diff --git a/.gitconfig b/.gitconfig index 5a78ead..0d892ee 100644 --- a/.gitconfig +++ b/.gitconfig @@ -73,5 +73,8 @@ [rebase] autosquash = true +[url "git@github.com:"] + insteadOf = "https://github.com/" + [include] path = ~/.gitconfig_local -- cgit v1.2.3