Created
August 12, 2022 09:13
-
-
Save 101v/0085143211fdedc30e362996259c1c2b to your computer and use it in GitHub Desktop.
Setup git defaultBranch as extraConfig in nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
programs.git = { | |
enable = true; | |
userName = "Vimal Patel"; | |
userEmail = "mailtovimal@gmail.com"; | |
extraConfig = { | |
init = { defaultBranch = "main"; }; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment