Files
dot.config/git/config
T
daniel fusser beeefb13a7 initial commit
2026-06-21 15:35:58 +02:00

54 lines
1.3 KiB
Plaintext

[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.config/git/ignore
compression = 9
preloadindex=true
[include]
path = ~/.config/git/local
[init]
defaultBranch = main
[push]
default = simple
autoSetupRemote = true
[status]
branch = true
showStash = true
[filter "ageencrypt"]
clean = age -r age14mg08panez45c6lj2cut2l8nqja0k5vm2vxmv5zvc4ufqgptgy2qcjfmuu -a -
smudge = age -d -i ~/.ssh/age.key -
required = true
[pull]
rebase = true
autoStash = true
missingCommitCheck = true
[interactive]
singlekey = true
[url "git@github.com:"]
insteadOf = "gh:"
[log]
abbrevCommit = true
graphColors = blue,yellow,cyan,magenta,green,red
[color "decorate"]
HEAD=red
branch=blue
tag=yellow
remoteBranch=magenta
[branch]
sort = -committerdate
[init]
defaultBranch = main
[alias]
i = ls-files --others --ignored --exclude-standard
s = status --short
ap = add --patch
l = log --graph --all --pretty=format:'%C(magenta)%h %C(white) %an %ar%C(auto) %D%n%s%n'
ll = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
c = commit
ca = commit -a
cm = commit -m
cl = clone
d = diff
ls = ls-files
subinit = submodule update --init --recursive