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

[user]
  name = Daniel Weipert
  email = git@mail.dweipert.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"
	push-all-tags = "!git remote | xargs -L1 git push --tags"

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

[color]
	pager = no