summaryrefslogtreecommitdiff
path: root/dot_gitconfig.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'dot_gitconfig.tmpl')
-rw-r--r--dot_gitconfig.tmpl10
1 files changed, 6 insertions, 4 deletions
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