[git] Properly set init.defaultBranch

This commit is contained in:
2026-05-11 16:08:59 -07:00
parent d91ef1c934
commit 198726894b

View File

@@ -12,6 +12,9 @@
"c" = "commit -am"; "c" = "commit -am";
"l" = "log --oneline"; "l" = "log --oneline";
}; };
init = {
defaultBranch = "main";
};
extraConfig = { extraConfig = {
pull = { pull = {
rebase = true; rebase = true;
@@ -19,9 +22,6 @@
log = { log = {
date = "iso"; date = "iso";
}; };
init = {
defaultBranch = "main";
};
}; };
# Enable the delta diff pager. # Enable the delta diff pager.
delta.enable = true; delta.enable = true;