1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-27 23:46:42 +00:00
dotfiles/git/config

73 lines
1.5 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://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
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