dotfiles/.gitconfig

39 lines
540 B
INI
Raw Permalink Normal View History

2022-05-27 21:07:07 +02:00
[alias]
2023-11-29 07:48:43 +01:00
br = branch
cot = checkout
d = !git --no-pager diff
fo = fetch origin
lo = log --name-status
st = status -sb
stat = !git --no-pager diff --stat
sw = switch
2023-11-29 09:46:08 +01:00
dft = difftool
dlog = "!f() { GIT_EXTERNAL_DIFF=difft git log -p --ext-diff; }; f"
2022-05-27 21:07:07 +02:00
[pull]
2023-11-29 07:48:43 +01:00
rebase = true
2022-05-27 21:07:07 +02:00
[help]
2023-11-29 07:48:43 +01:00
autocorrect = 40
2022-05-27 21:07:07 +02:00
[core]
2023-11-29 07:48:43 +01:00
editor = vim
2022-06-30 12:59:19 +02:00
2023-08-28 16:41:55 +02:00
[gitreview]
2023-11-29 07:48:43 +01:00
remote = origin
2023-08-28 16:41:55 +02:00
2023-11-29 09:46:08 +01:00
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
2022-06-30 12:59:19 +02:00
[include]
2023-11-29 07:48:43 +01:00
path = ~/.config/git/.gitconfig