git: Update config, reintroduce aliases, remove difftastic

This commit is contained in:
Jan Kremer 2025-07-10 14:22:22 +02:00
parent 7d27900ed8
commit ebd900f939
Signed by: jan
GPG key ID: A7DA689CB3B078EC

View file

@ -13,28 +13,51 @@
userName = "Jan Kremer"; userName = "Jan Kremer";
userEmail = "mail@jankremer.eu"; userEmail = "mail@jankremer.eu";
lfs.enable = true; lfs.enable = true;
difftastic.enable = true;
aliases = {
s = "status --short";
l = "log --all --oneline --graph";
};
extraConfig = { extraConfig = {
init.defaultBranch = "main";
user.signingkey = "A7DA689CB3B078EC"; user.signingkey = "A7DA689CB3B078EC";
credential.helper = "osxkeychain"; credential.helper = "osxkeychain";
merge.conflictstyle = "zdiff3"; column.ui = "auto";
help.autocorrect = "prompt";
log.date = "iso";
branch.sort = "-committerdate";
commit = { commit = {
verbose = true; verbose = true;
gpgsign = true; gpgsign = true;
}; };
branch.sort = "-committerdate"; tag.sort = "version:refname";
help.autocorrect = 10;
diff = { diff = {
algorithm = "histogram"; algorithm = "histogram";
colorMoved = "default"; colorMoved = "default";
mnemonicPrefix = true;
renames = true;
}; };
log.date = "iso";
rebase.autostash = true;
rerere.enabled = true;
push = { push = {
followtags = true;
autoSetupRemote = true; autoSetupRemote = true;
followTags = true;
};
pull.rebase = true;
fetch = {
all = true;
prune = true;
pruneTags = true;
};
merge.conflictstyle = "zdiff3";
rebase = {
autoSquash = true;
autoStash = true;
updateRefs = true;
};
rerere = {
enabled = true;
autoupdate = true;
}; };
}; };
}; };