From 204932877e5eebbc5ab0e8f963f5592de893f67b Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Tue, 11 Jun 2024 22:56:08 -0500 Subject: fix(git): fix formatting additionally set default branch to main --- dot_gitconfig.tmpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dot_gitconfig.tmpl') diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index fb97bed..5b84c1e 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -9,6 +9,8 @@ {{/* This file supports Go's text/template language. */ -}} +[init] + defaultBranch = main [push] autoSetupRemote = true default = current @@ -39,11 +41,11 @@ helper = !'C:\\Users\\muftei\\scoop\\apps\\gh\\current\\bin\\gh.exe' auth git-credential {{ else }} [credential "https://github.com"] - helper = - helper = !/usr/bin/gh auth git-credential + helper = + helper = !/usr/bin/gh auth git-credential [credential "https://gist.github.com"] - helper = - helper = !/usr/bin/gh auth git-credential + helper = + helper = !/usr/bin/gh auth git-credential {{ end -}} [pull] rebase = false -- cgit v1.2.3