dotfiles/git/config

78 lines
1.6 KiB
Plaintext

[user]
email = phantop@tuta.io
name = Phantop
[credential]
helper = libsecret
[core]
quotepath = false
commitGraph = true
[gc]
writeCommitGraph = true
[cola]
spellcheck = false
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "https://aur.archlinux.org/"]
insteadOf = "aur:"
insteadOf = "a:"
[url "https://dev.getsol.us/source/"]
insteadOf = "solus:"
insteadOf = "sol:"
insteadOf = "s:"
[url "https://github.com/"]
insteadOf = "github:"
insteadOf = "hub:"
insteadOf = "gh:"
insteadOf = "h:"
[url "https://github.com/Phantop/"]
insteadOf = "p:"
[url "https://july.fly.dev/july/"]
insteadOf = "july:"
insteadOf = "j:"
[url "https://gitlab.com/"]
insteadOf = "gitlab:"
insteadOf = "lab:"
insteadOf = "gl:"
insteadOf = "l:"
[url "https://git.sr.ht"]
insteadOf = "https://sr.ht"
[color]
ui = auto
[alias]
a = commit -a
ad = add
b = branch
c = commit
ca = commit --amend
caa = ca -a
ch = checkout
cl = gc --aggressive --prune=now
d = difftool
g = clone
gr = clone --recursive
l = log
open = browse
p = pull
pu = push
puf = push -f
r = reset --hard
root = rev-parse --show-toplevel
s = status
su = submodule update --init --recursive
w = clean -fdx
[pull]
rebase = false
[init]
defaultBranch = main
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true