diff options
author | Franck Cuny <franck@fcuny.net> | 2021-08-23 14:17:29 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-08-23 14:17:29 -0700 |
commit | 19796dcaeaf5d7d223e0c38c8f9315a44b9b16d7 (patch) | |
tree | 4d8d3802cfc5b5b15bf05241f06d9ae7cf511117 /config/git | |
parent | backup: use the wireguard interface (diff) | |
download | emacs.d-19796dcaeaf5d7d223e0c38c8f9315a44b9b16d7.tar.gz |
git: for new repo, use 'main' for default branch
Sort branches by date.
Diffstat (limited to 'config/git')
-rw-r--r-- | config/git/config | 7 |
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 |