Set global default git branch to "main"
This commit is contained in:
@@ -144,6 +144,9 @@
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config = {
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
credential = {
|
||||
helper = "cache --timeout 21600";
|
||||
};
|
||||
|
Reference in New Issue
Block a user