Skip to content

Commit da24756

Browse files
committed
feat(apps.git): set init.defaultBranch to "main"
1 parent 9e216c6 commit da24756

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/apps/git.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
ignorels = "!git ls-files -v | grep \"^S\"";
3131
};
3232
extraConfig = {
33+
init = {
34+
defaultBranch = "main";
35+
};
3336
core = {
3437
preloadindex = true;
3538
fscache = true;

0 commit comments

Comments
 (0)