dotfiles/home/dot_gitconfig.tmpl
Maximilian Friedersdorff d03bc6ea19 Add git changes
2024-10-02 13:01:25 +01:00

41 lines
1.3 KiB
Cheetah

[color]
ui = true
branch = always
status = always
interactive = always
diff = true
[user]
name = Maximilian Friedersdorff
email = {{ .email | quote }}
[core]
editor = nvim
excludesfile = {{ .chezmoi.homeDir }}/.gitignore
[merge]
tool = diffuse
ff = true
[push]
default = simple
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset %G? %ad %s %C(bold blue)<%an>%Creset %C(yellow)%d%Creset' --date=short
hist = log --graph --full-history --all --pretty=format:'%Cred%h%Creset %G? %ad %s %C(bold blue)<%an>%Creset %C(yellow)%d%Creset' --date=short
struct = log --graph --full-history --all --pretty=format:'%ad %s %Creset %C(yellow)%d%Creset' --date=short --simplify-by-decoration
co = checkout
ci = commit
st = status
br = branch
df = diff
commit = commit -S
vt = tag -v
tag = tag -s
t = tag -s
alias = "!req=$'\\033[0;31m=\\033[0m'; git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e \"s/\\ /\t$req\\ /\""
pa = !git remote | xargs -L1 git push --all
fi = flow finish --push --no-ff
changes = git log $(git tag -l --sort=taggerdate | tail -n 1)..HEAD --pretty=format:"* %s" --no-merges --reverse
[pull]
rebase = false
[sendemail]
smtpserver = mail.friedersdorff.com
smtpuser = max
smtpencryption = tls
smtpserverport = 587