summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-08-23 14:17:29 -0700
committerFranck Cuny <franck@fcuny.net>2021-08-23 14:17:29 -0700
commit19796dcaeaf5d7d223e0c38c8f9315a44b9b16d7 (patch)
tree4d8d3802cfc5b5b15bf05241f06d9ae7cf511117
parentbackup: use the wireguard interface (diff)
downloademacs.d-19796dcaeaf5d7d223e0c38c8f9315a44b9b16d7.tar.gz
git: for new repo, use 'main' for default branch
Sort branches by date.
Diffstat (limited to '')
-rw-r--r--config/git/config7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/git/config b/config/git/config
index 32f11aa..1001b1a 100644
--- a/config/git/config
+++ b/config/git/config
@@ -9,9 +9,7 @@
 
 [branch]
 	autosetuprebase = remote
-
-[include]
-	path = ~/.config/git/user
+	sort = authordate
 
 [http]
 	postBuffer = 524288000
@@ -19,3 +17,6 @@
 [alias]
 	s = status --short --branch
 	amend = commit --amend --no-edit
+
+[init]
+	defaultBranch = main