1
0
forked from cheng/wallet
wallet/.gitconfig
2024-11-04 06:46:38 +08:00

29 lines
899 B
INI

[core]
autocrlf = false #line ending issues should be handled in .gitattributes
whitespace = -tab-in-indent,tabwidth=4,indent-with-non-tab,trailing-space,space-before-tab
safecrlf=warn
[apply]
whitespace = fix
ignoreWhitespace = no
[alias]
lg = log --pretty=format:'%C(auto)%h %d %Creset %p %C("#60A0FF")%cr %Cgreen %G? %GS %Creset%n %<(78,trunc)%s%n'
graph = log --graph --pretty=format:'%C(auto)%h %<(78,trunc)%s %Cgreen(%cr) %C(bold blue)%G? %GS%Creset' --abbrev-commit
alias = !git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ / | grep -v ^'alias ' | sort
utcmt = !git commit --date=\"$(date --utc +%Y-%m-%dT%H:%M:%Sz)\"
[commit]
gpgSign = true
[push]
signed=true
[merge]
verify-signatures = true
[pull]
verify-signatures = true
[submodule]
active = *
[diff]
submodule = log
[gpg "ssh"]
allowedSignersFile = .gitsigners
[gpg]
format = ssh