update git config
This commit is contained in:
parent
788ab922ea
commit
a6fccaf727
1 changed files with 29 additions and 0 deletions
29
home/git.nix
29
home/git.nix
|
|
@ -3,5 +3,34 @@
|
|||
enable = true;
|
||||
userEmail = "osmanfbayram@gmail.com";
|
||||
userName = "osbm";
|
||||
ignores = [
|
||||
"*.pyc" # python
|
||||
"*.swp" # vim
|
||||
"__pycache__" # python
|
||||
".DS_Store" # macOS
|
||||
"result" # nix
|
||||
"node_modules" # node
|
||||
];
|
||||
extraConfig = {
|
||||
credential = {
|
||||
helper = "store";
|
||||
};
|
||||
core = {
|
||||
editor = "vim";
|
||||
pager = "cat";
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
http = {
|
||||
postBuffer = "1048576000";
|
||||
};
|
||||
https = {
|
||||
postBuffer = "1048576000";
|
||||
};
|
||||
push = {
|
||||
autoSetupRemote = true;
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue