1
0
Fork 0
config/.gitconfig

113 lines
2.2 KiB
INI

[init]
defaultBranch = main
[user]
email = xtexchooser@duck.com
name = xtex
signingKey = 7231804B052C670F15A6771DB918086ED8045B91
[commit]
verbose = true
[tag]
forceSignAnnotated = true
[core]
autocrlf = input
abbrev = 12
excludesfile = /home/xtex/.gitignore.common
[url "git@github.com:"]
insteadOf = https://github.com/
[url "git@codeberg.org:"]
insteadOf = https://codeberg.org/
[url "ssh://gerrit.wikimedia.org:29418/"]
insteadOf = https://gerrit.wikimedia.org/r/
[url "git@git.dn42.dev:"]
insteadOf = https://git.dn42.dev/
[url "https://github.com/rust-lang/crates.io-index"]
insteadOf = https://github.com/rust-lang/crates.io-index
[pull]
rebase = true
[merge]
conflictstyle = zdiff3
guitool = meld
[diff]
tool = difftastic
algorithm = histogram
submodule = log
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[alias]
dft = difftool
logt = "!f() { GIT_EXTERNAL_DIFF=difft git log -p --ext-diff $@; }; f"
staging = "send-email --to=~xtex/staging@lists.sr.ht"
a = add
br = branch
brd = branch -d
brdd = branch -D
c = commit
ca = commit --amend --no-edit
ck = checkout
d = diff
dt = difftool
f = fetch
fap = fetch --all --prune
ff = fetch --force
fp = fetch --prune
fpa = fetch --all --prune
ft = fetch --tags --prune
g = pull
l = log
lt = logt
ol = "log --oneline"
p = push
pf = push --force
pick = cherry-pick
pk = cherry-pick
pp = push --force
pt = push --tags
r = review
res = restore
rh = reset --hard
rs = reset --soft
s = status
sh = show
sw = switch
swc = switch -c
[sendemail]
smtpServer = mail.envs.net
smtpEncryption = ssl
smtpUser = xtex@envs.net
from = xtex <xtex@envs.net>
smtpDomain = xtexx.eu.org
[am]
threeWay = true
[gitreview]
username = xtex
[push]
followTags = true
autoSetupRemote = true
[pretty]
fixes = Fixes: %h (\"%s\")
[http]
cookiefile = /home/xtex/.gitcookies
[rerere]
enabled = true
[help]
autocorrect = prompt
[status]
submoduleSummary = true
[submodule]
recurse = true
[log]
date = iso
[rebase]
missingCommitsCheck = error
[format]
useAutoBase = true
[sequence]
editor = interactive-rebase-tool
[fetch]
prune = true
[include]
path = .config/git/local.conf