Archived
1
0
Fork 0
This repository has been archived on 2024-06-19. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/git/config
Christoph Heiss 4d58144bfc
git: Rename smtpconfig to localconfig
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-01-23 21:37:35 +01:00

36 lines
1.1 KiB
Plaintext

[user]
name = Christoph Heiss
email = christoph@c8h4.io
signingkey = 9C561D6430B28D6BDCBC9CEB73D5E7FDEE3DE49A
[commit]
gpgsign = true
[format]
signoff = true
[pull]
rebase = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = main
[rebase]
autoStash = true
autoSquash = true
[alias]
fixes = show -s --pretty='format:Fixes: %h (\"%s\")'
fixup = "!git log -n 50 --pretty=format:'%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"
reported-by = "!n="$(git shortlog -sne | cut -f2- | fzf)"; echo "Reported-by: $n""
difflog = "!f() { local h="$(git log --format='%h' $1)"; git shortlog $1; git diff --stat $h^ HEAD; }; PAGER= f"
[sendemail]
annotate = yes
confirm = always
suppresscc = self
smtpsslcertpath =
[sendemail.linux]
tocmd = "$(pwd)/scripts/get_maintainer.pl --nogit --nogit-fallback --norolestats --nol"
cccmd = "$(pwd)/scripts/get_maintainer.pl --nogit --nogit-fallback --norolestats --nom"
[include]
path = ~/.config/git/localconfig