summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: bb5b36981b9544543ae82df00d7e1f2872db4189 (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 = 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"
	push-all-tags = "!git remote | xargs -L1 git push --tags"

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

[color]
	pager = no