dotfiles/.config/git/config
2024-04-29 13:40:36 +02:00

105 lines
2.3 KiB
Plaintext

[user]
email = florianbadie@odrling.xyz
name = odrling
signingkey = 16E8C31588B334262922E721D6ECD016B66F01BF
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[color]
ui = auto
[submodule]
fetchJobs = 0
[diff]
mnemonicprefix = true
tool = difftastic
algorithm = histogram
colorMoved = default
submodule = log
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[merge]
conflictStyle = "diff3"
branchdesc = true
[transfer]
fsckObjects = true
[fetch]
fsckObjects = true
parallel = 0
prune = true
recurseSubmodules = on-demand
writeCommitGraph = true
[core]
longpaths = true
logallrefupdates = true
hooksPath = "~/.config/git/hooks"
untrackedcache = true
fsmonitor = true
[pull]
ff = "only"
rebase = "merges"
[alias]
l = "log --date=short --graph --pretty=format:\"%C(green)%h%Creset%C(cyan)%C(bold)%d%Creset %s %C(magenta)%cd%Creset %C(blue)%an%Creset\""
ll = log --stat --date=human
lf = "log --date=short --pretty=format:\"%C(green)%H%Creset%C(cyan)%C(bold)%d%Creset %s %C(magenta)%cd%Creset %C(blue)%an%Creset\""
rh = reset --hard
d = diff --patch-with-stat
s = status
p = push
pf = push --force-with-lease
pushall = !git remote | xargs -n 1 git push --all
tlc = clone --filter tree:0
blc = clone --filter blob:none
[rerere]
enabled = true
[commit]
cleanup = scissors
gpgsign = true
[push]
gpgsign = if-asked
[tag]
gpgsign = true
sort = -taggerdate
[column]
ui = auto
[pager]
difftool = true
[delta]
light = true
navigate = true
[interactive]
diffFilter = delta --color-only
[init]
defaultBranch = master
[branch]
sort = -committerdate
[credential]
helper = rbw
[gc]
reflogexpire = 90
writeCommitGraph = true
[receive]
fsckObjects = true
advertisePushOptions = true
procReceiveRefs = refs/for
[safe]
directory = *
[uploadpack]
allowfilter = true
allowAnySHA1InWant = true
[url "ssh://git@github.com/"]
pushInsteadOf = https://github.com/
[url "ssh://git@codeberg.org/"]
pushInsteadOf = https://codeberg.org/
[url "https://git.japan7.bde.enseeiht.fr"]
insteadOf = ssh://git@git.japan7.bde.enseeiht.fr:8022
[url "git@git.odrling.xyz:repos"]
pushInsteadOf = https://git.odrling.xyz
[url "ssh://git@gitlab.alpinelinux.org"]
pushInsteadOf = https://gitlab.alpinelinux.org