summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: 632192488304479917e912631e339f25e3b2666b (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
[init]
  defaultBranch = main

[user]
  name = Daniel Weipert
  email = code@drogueronin.de

[diff]
  tool = nvimdiff
[difftool]
  prompt = false
[difftool "nvimdiff"]
  cmd = "nvim -Rd \"$LOCAL\" \"$REMOTE\""

[alias]
  ndiff = "!nvim -Rc 'DiffviewOpen'"
	push-all = "!git remote | xargs -L1 git push --all"

[core]
	excludesfile = ~/.config/git/ignore
	pager = "nvim -R"

[color]
	pager = no