diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2024-06-11 22:56:08 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-07-01 00:23:31 -0400 |
| commit | 204932877e5eebbc5ab0e8f963f5592de893f67b (patch) | |
| tree | 479962379acb7aebc4aa9912967b8592d3fa1144 /dot_gitconfig.tmpl | |
| parent | 5051912a3a3dde7974fdaaad22546836f912a77d (diff) | |
fix(git): fix formatting
additionally set default branch to main
Diffstat (limited to 'dot_gitconfig.tmpl')
| -rw-r--r-- | dot_gitconfig.tmpl | 10 |
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 |
