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";
userEmail = "mail@jankremer.eu";
lfs.enable = true;
difftastic.enable = true;
aliases = {
s = "status --short";
l = "log --all --oneline --graph";
};
extraConfig = {
init.defaultBranch = "main";
user.signingkey = "A7DA689CB3B078EC";
credential.helper = "osxkeychain";
merge.conflictstyle = "zdiff3";
column.ui = "auto";
help.autocorrect = "prompt";
log.date = "iso";
branch.sort = "-committerdate";
commit = {
verbose = true;
gpgsign = true;
};
branch.sort = "-committerdate";
help.autocorrect = 10;
tag.sort = "version:refname";
diff = {
algorithm = "histogram";
colorMoved = "default";
mnemonicPrefix = true;
renames = true;
};
log.date = "iso";
rebase.autostash = true;
rerere.enabled = true;
push = {
followtags = 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;
};
};
};