From 161ecd05f59e97829092acf07fd03d3d257783be Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Wed, 21 Aug 2024 15:45:25 -0400 Subject: [PATCH] feat(gitconfig): force "main" default branch, force SSH --- gitconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gitconfig b/gitconfig index 0dea506..d30c25e 100644 --- a/gitconfig +++ b/gitconfig @@ -28,3 +28,7 @@ tool = nvim [mergetool "nvim"] cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\" +[init] + defaultBranch = main +[url "git@github.com:"] + insteadOf = https://github.com/ -- 2.51.2