1
ewconfig/configs/git/.gitconfig
2023-10-14 18:14:52 -04:00

49 lines
1.1 KiB
INI

[include]
path = ~/.config/git/features/enable-signing.gitconfig
[user]
email = evan@ewpratten.com
name = Evan Pratten
signingkey = ~/.ssh/id_ed25519_sk_rk_yk20572395
[init]
defaultBranch = master
[pull]
rebase = false
[advice]
detachedHead = true
[alias]
authors = shortlog --summary --numbered --email
tree = log --graph --decorate --abbrev-commit --all \
--pretty=format:'%C(auto,yellow)commit %h%C(auto,cyan)%d%n%C(auto,cyan)Author:%Creset %aN <%aE>%n%C(auto,cyan)Date:%Creset %ad%n%s%n' \
--date=format:'%b %d %Y %H:%M:%S %z'
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "ssh://git@github.com/"]
pushInsteadOf = https://github.com/
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[sendemail]
smtpserver = smtp.migadu.com
smtpuser = evan@ewpratten.com
smtpencryption = tls
smtpserverport = 587
[mailmap]
file = ~/.config/git/.mailmap