dotfiles/.gitconfig

43 lines
1.6 KiB
INI
Raw Normal View History

2025-01-24 10:01:12 +01:00
[user]
name=empathicqubit
email=empathicqubit@entan.gl
[diff "bin"]
textconv = xxd
[diff]
colorMoved=zebra
[core]
autoclrf=input
trustctime=false
[mergetool.fugitive]
cmd=vim -f -c Gvdiff "$MERGED"
[mergetool.kdiff3]
path="C:/Program Files/KDiff3/kdiff3.exe"
trustExitCode=false
[mergetool "vscode"]
cmd = code --wait $MERGED
[merge]
renamelimit=24000
tool=fugitive
[branch]
autosetuprebase=always
[bash]
enableGitStatus = true
enableStatusSymbol = true
[push]
default = simple
[alias]
lg = !"git lg1"
lg1 = !"git lg1-specific --all"
lg2 = !"git lg2-specific --all"
lg3 = !"git lg3-specific --all"
branches = !"git for-each-ref --sort='-authordate:iso8601' --format=' %(authordate:relative)%09%(refname:short)' refs/heads | less"
lg1-specific = 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)'
lg2-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg3-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'
[init]
defaultBranch = main