1
0
Files
dotfiles/.gitconfig
2025-07-04 17:56:48 +02:00

47 lines
1.2 KiB
INI

[safe]
directory = /yay
[credential]
credentialStore = gpg
guiPrompt = false
[color]
status = always
branch = always
diff = always
interactive = always
[user]
email = aligator.h0spital.e@gmail.com
name = Anton
signingkey = 0AD27113ADEB3016
[core]
editor = nvim
[push]
autoSetupRemote = true
[init]
defaultBranch = main
[commit]
gpgsign = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "https://github.com/"]
insteadOf = gh:
[url "https://github.com/antonw51/"]
insteadOf = my:
[url "https://github.com/zync-chat/"]
insteadOf = zync:
[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
[alias]
ref = show -s --pretty=reference
lg = !max_length_dr=$(git log --format='%ar ' | wc -L) \
&& max_length=$(git log --format='%s ' | wc -L) \
&& git log --graph --abbrev-commit --decorate \
--format='%C(bold blue)%h%C(reset) - %C(bold green)%-%<('\"$max_length_dr\"')%ar:%C(reset)'\" \
\"'%C(white)%<('\"$max_length\"')%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)'