aboutsummaryrefslogtreecommitdiff
path: root/.gitconfig
blob: 63ccf204efbc917139a34240510dca9390509a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[user]
	name = Alec Goncharow
	email = alec@goncharow.dev
[core]
	editor = nvim
	excludesfile = /home/algo/.gitignore_global
[pull]
	rebase = true
[init]
	defaultBranch = main
	templatedir = ~/.git_template
[diff]
  tool = difftastic
[difftool]
  prompt = false
[difftool "difftastic"]
  cmd = difft "$LOCAL" "$REMOTE"
[pager]
  difftool = true
# `git dft` is less to type than `git difftool`.
[alias]
  difft = difftool
  dift = difftool
  dft = difftool
  fix = "!f() { ${EDITOR} `git diff --name-only`; }; f"