mirror of
https://git.sr.ht/~danbarber/dotfiles
synced 2025-03-04 08:59:18 +00:00
57 lines
1.0 KiB
Plaintext
57 lines
1.0 KiB
Plaintext
[init]
|
|
defaultBranch = main
|
|
templatedir = ~/.config/git/template
|
|
[push]
|
|
default = current
|
|
[pull]
|
|
rebase = false
|
|
[color]
|
|
ui = auto
|
|
[alias]
|
|
aa = add --all
|
|
ap = add --patch
|
|
ci = commit -v
|
|
co = checkout
|
|
pf = push --force-with-lease
|
|
st = status
|
|
ksdiff = difftool -yt Kaleidoscope
|
|
[core]
|
|
excludesfile = ~/.config/git/ignore
|
|
autocrlf = input
|
|
[merge]
|
|
ff = only
|
|
[commit]
|
|
template = ~/.config/git/message
|
|
[fetch]
|
|
prune = true
|
|
[rebase]
|
|
autosquash = true
|
|
instructionFormat = (%al) %s
|
|
[diff]
|
|
colorMoved = zebra
|
|
external = difft
|
|
tool = difftastic
|
|
[difftool]
|
|
prompt = false
|
|
[difftool "difftastic"]
|
|
cmd = difft "$LOCAL" "$REMOTE"
|
|
[credential]
|
|
helper = osxkeychain
|
|
[format]
|
|
pretty = %Cblue%h%Creset %Cgreen[%ar]%Creset (%an) %s
|
|
[color "diff"]
|
|
oldMoved = 141
|
|
newMoved = 39
|
|
[include]
|
|
path = config.author
|
|
[filter "lfs"]
|
|
required = true
|
|
clean = git-lfs clean %f
|
|
smudge = git-lfs smudge %f
|
|
[pager]
|
|
difftool = true
|
|
[tig]
|
|
status-show-untracked-files = yes
|
|
[rerere]
|
|
enabled = true
|