Improve git config

Based on https://www.brandonpugh.com/blog/git-config-settings-i-always-recommend/
This commit is contained in:
Daniel Siepmann 2024-02-12 09:23:19 +01:00
parent 262b218685
commit 92e6fb696e
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -26,7 +26,7 @@
ri = "rebase -i";
rc = "rebase --continue";
fap = "fetch --all --prune";
fa = "fetch --all";
rh = "reset --hard";
cp = "cherry-pick";
@ -83,6 +83,10 @@
autosetuprebase = "always";
};
fetch = {
prune = true;
};
color = {
diff = "auto";
status = "auto";
@ -120,6 +124,7 @@
push = {
default = "current";
gpgSign = "if-asked";
autoSetupRemote = true;
};
pull = {
@ -128,6 +133,7 @@
rebase = {
autoStash = true;
autosquash = true;
};
merge = {