[TASK] Add git config settings

This commit is contained in:
Sebastian Fischer 2026-02-07 19:57:46 +01:00
parent 378d26c109
commit 6366beb9a5

View File

@ -99,10 +99,98 @@
enable = true;
settings = {
aliases = {
prune = "fetch --prune";
undo = "reset --soft HEAD^";
stash-all = "stash save --include-untracked";
graph = "log --graph --decorate --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'";
};
apply.whitespace = "fix";
branch = {
autosetuprebase = "remote";
sort = "-authordate";
};
"branch \"main\"" = {
remote = "origin";
merge = "refs/heads/main";
rebase = true;
};
color = {
ui = "auto";
branch = "auto";
diff = "auto";
status = "auto";
interactive = "auto";
pager = true;
};
"color \"branch\"" = {
current = "yellow reverse";
local = "yellow";
remote = "green";
};
"color \"diff\"" = {
meta = "yellow bold";
frag = "magenta bold";
old = "red bold";
new = "green bold";
whitespace = "red reverse";
};
"color \"diff-highlight\"" = {
oldNormal = "red bold";
oldHighlight = "red bold 52";
newNormal = "green bold";
newHighlight = "green bold 22";
};
"color \"status\"" = {
added = "yellow";
changed = "green";
untracked = "cyan";
};
core = {
pager = "less -FRSX";
whitespace = "fix,-indent-with-non-tab,trailing-space,cr-at-eol";
editor = "vim";
fileMode = false;
autocrlf = "input";
};
credential.helper = "cache";
diff.tool = "vimdiff";
difftool.prompt = false;
fetch.prune = true;
http.sslverify = false;
init.defaultBranch = "main";
core.editor = "vim";
merge.tool = "vimdiff";
mergetool.prompt = false;
pull.rebase = false;
push = {
default = "simple";
followTags = true;
};
rerere.enabled = 1;
status.showUntrackedFiles = "all";
};
ignores = [
".idea" # JetBrains IDEs
];
};
# Vim Konfiguration