dotfiles/.gitconfig
Daniel Kluge 65226624db Add nano as preferred editor and a work config
Signed-off-by: Daniel Kluge <c0ntroller@noreply.git.c0ntroller.de>
2025-03-10 15:58:26 +01:00

30 lines
642 B
INI

[core]
editor = nano
[user]
email = daniel-git@c0ntroller.de
name = Daniel Kluge
signingKey = ~/.ssh/id_rsa.pub
[init]
defaultBranch = senpai
[alias]
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all
fpush = push
[rerere]
enabled = true
autoUpdate = true
[branch]
sort = -committerdate
[column]
ui = auto
[commit]
gpgSign = true
[push]
gpgSign = if-asked
[tag]
gpgSign = true
[gpg]
format = ssh
# Work email
[includeIf "gitdir/i:C:/Users/kluged/**"]
path = ~/.gitconfig.work