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