summaryrefslogtreecommitdiff
path: root/git/dotgitconfig
blob: c1555334c8ac0477bc90fa1b3b38d1129d115dae (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[core]
  pager = delta

[interactive]
  diffFilter = delta --color-only

[delta]
  navigate = true

[merge]
  conflictstyle = diff3

[diff]
  colorMoved = default

[user]
  name = Brad Clawsie
  email = brad@b7j0c.org
  signingkey = ~/.ssh/id_ed25519.pub

[pull]
  ff = only

[init]
  defaultBranch = master

[commit]
	gpgsign = true

[gpg]
  format = ssh
[gpg "ssh"]
	allowedSignersFile = ~/.ssh/allowed_signers

[tig]
  main-view-date-display = no

[tig "bind"]
  status = C !git commit -S

[alias]
  st = status -sb
  tree = log --oneline --decorate --graph

[alias]
  undo = reflog show --pretty=format:'%C(auto)%h %C(blue)%gd%C(reset) %C(yellow)%s%C(reset) %C(green)(%cr)%C(reset)' --date=relative

[alias]
  ghosts = !"git fsck --lost-found | grep commit | cut -d ' ' -f 3 | xargs -n 1 git log -n 1 --pretty=format:'%C(red)%h%C(reset) %s' --color"