Git: config improvements

This commit is contained in:
Filippo Berto 2024-02-14 11:40:34 +01:00
parent 18fa71f40e
commit 6e943f56f3
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -58,7 +58,7 @@ let
"gma" = "git merge --abort";
"gp" = "git push";
"gpa" = "git push --all";
"gpf!" = "git push --force";
"gpf!" = "git push --force-with-lease";
"gpoat" = "git push origin --all && git push origin --tags";
"gpu" = "git push upstream";
"gpv" = "git push -v";
@ -102,9 +102,12 @@ in
# };
extraConfig = {
"add.interactive".useBuiltin = false;
commit.gpgSign = true;
core.editor = "hx";
credential.helper = "libsecret";
commit.gpgSign = true;
core = {
editor = "hx";
fsmonitor = true;
};
delta = {
line-numbers = true;
navigate = true;
@ -124,6 +127,10 @@ in
};
pull.rebase = true;
rebase.autoStash = true;
rerere = {
enabled = true;
autoUpdate = true;
};
user.signingKey = "berto.f@protonmail.com";
};
lfs.enable = true;