Git: config improvements
This commit is contained in:
parent
18fa71f40e
commit
6e943f56f3
1 changed files with 10 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ let
|
||||||
"gma" = "git merge --abort";
|
"gma" = "git merge --abort";
|
||||||
"gp" = "git push";
|
"gp" = "git push";
|
||||||
"gpa" = "git push --all";
|
"gpa" = "git push --all";
|
||||||
"gpf!" = "git push --force";
|
"gpf!" = "git push --force-with-lease";
|
||||||
"gpoat" = "git push origin --all && git push origin --tags";
|
"gpoat" = "git push origin --all && git push origin --tags";
|
||||||
"gpu" = "git push upstream";
|
"gpu" = "git push upstream";
|
||||||
"gpv" = "git push -v";
|
"gpv" = "git push -v";
|
||||||
|
|
@ -102,9 +102,12 @@ in
|
||||||
# };
|
# };
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
"add.interactive".useBuiltin = false;
|
"add.interactive".useBuiltin = false;
|
||||||
commit.gpgSign = true;
|
|
||||||
core.editor = "hx";
|
|
||||||
credential.helper = "libsecret";
|
credential.helper = "libsecret";
|
||||||
|
commit.gpgSign = true;
|
||||||
|
core = {
|
||||||
|
editor = "hx";
|
||||||
|
fsmonitor = true;
|
||||||
|
};
|
||||||
delta = {
|
delta = {
|
||||||
line-numbers = true;
|
line-numbers = true;
|
||||||
navigate = true;
|
navigate = true;
|
||||||
|
|
@ -124,6 +127,10 @@ in
|
||||||
};
|
};
|
||||||
pull.rebase = true;
|
pull.rebase = true;
|
||||||
rebase.autoStash = true;
|
rebase.autoStash = true;
|
||||||
|
rerere = {
|
||||||
|
enabled = true;
|
||||||
|
autoUpdate = true;
|
||||||
|
};
|
||||||
user.signingKey = "berto.f@protonmail.com";
|
user.signingKey = "berto.f@protonmail.com";
|
||||||
};
|
};
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue