diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-08-09 16:55:12 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-08-09 16:55:12 -0700 |
| commit | e86fd609d06f011e798dafda07863f46cf6d8a56 (patch) | |
| tree | c32ccef018331b02f1d39dd61c30996c83130029 /modules/home/tools/git | |
| parent | ffe8e9870f8f82c58e53ec60c22a843cad04d125 (diff) | |
git: set default branch name
Diffstat (limited to 'modules/home/tools/git')
| -rw-r--r-- | modules/home/tools/git/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/home/tools/git/default.nix b/modules/home/tools/git/default.nix index 1780d80..06ce017 100644 --- a/modules/home/tools/git/default.nix +++ b/modules/home/tools/git/default.nix @@ -39,7 +39,11 @@ in { ignores = [ "*~" "*.swp" - ]; + ]; + + extraConfig = { + init.defaultBranch = "main"; + }; }; }; } |