feat: add some options to git config
This commit is contained in:
parent
a07ad591ff
commit
b23cb3ca30
1 changed files with 17 additions and 2 deletions
|
|
@ -7,9 +7,15 @@
|
|||
}: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Glen Goodwin";
|
||||
userEmail = "glen.goodwin1992@gmail.com";
|
||||
userName = "gwg313";
|
||||
userEmail = "gwg313@pm.me";
|
||||
extraConfig = {
|
||||
user = {
|
||||
signingkey = "60FF63B4826B7400";
|
||||
};
|
||||
commit = {
|
||||
gpgsign = true;
|
||||
};
|
||||
diff = {
|
||||
algorithm = "patience";
|
||||
compactionHeuristic = "true";
|
||||
|
|
@ -25,6 +31,9 @@
|
|||
"mergetool \"nvimdiff4\"" = {
|
||||
cmd = "nvim -d $LOCAL $BASE $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'";
|
||||
};
|
||||
mergetool = {
|
||||
keepBackup = false;
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
|
|
@ -40,6 +49,12 @@
|
|||
interactive = {
|
||||
diffFilter = "delta --color-only";
|
||||
};
|
||||
push = {
|
||||
autoSetupRemote = true;
|
||||
};
|
||||
pull = {
|
||||
rebase = false;
|
||||
};
|
||||
};
|
||||
ignores = [
|
||||
"__pycache__"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue