1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-19 13:22:51 +00:00
dotfiles/git/config

76 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://gitlab.archlinux.org/archlinux/packaging/packages/"]
insteadOf = "al:"
[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 = diff
g = clone
gr = clone --recursive
l = log
p = pull
pu = push
puf = push -f
r = reset --hard
root = rev-parse --show-toplevel
s = status
sd = submodule deinit --all -f
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