summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-01-24 12:54:33 +0100
committerTobias Klauser <tklauser@distanz.ch>2022-01-24 12:54:33 +0100
commit3b21170fda2f06c9740b383704f152fd4607c366 (patch)
treeaac4c72115965633dd227be3404495296b903ab4 /.gitconfig
parent68a8731c1631d516978cb14163d5379489d2138f (diff)
.gitconfig: set init.defaultBranch=main
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index c6feae6..69d2702 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -6,6 +6,8 @@
abbrev = 12
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
+[init]
+ defaultBranch = main
[alias]
amend = commit --amend --date=now
co = checkout