git/.gitconfig 1.7 K raw
1
[user]
2
  name = Steve
3
  email = contact@stevedylan.dev
4
  signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII+PHvindUrf1didz4vxDDu5/YzSGIJXH1Y0lFBe05zr
5
6
[gpg]
7
  format = ssh
8
9
[gpg "ssh"]
10
  program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
11
12
[alias]
13
	ac = "!f() { git add . && git commit -m \"$1\"; }; f"
14
	wip = "!f() { git add . && git commit -m \"wip\" && git push; }; f"
15
	d = difftool -y --tool=oy
16
17
[difftool "oy"]
18
	cmd = oy "$LOCAL" "$REMOTE"
19
20
[difftool]
21
	prompt = false
22
23
[column]
24
  ui = auto
25
26
[branch]
27
  sort = -committerdate
28
29
[init]
30
  defaultBranch = main
31
32
[diff]
33
  tool = oy
34
  algorithm = histogram
35
  colorMoved = plain
36
  mnemonicPrefix = true
37
  renames = true
38
  context = 3
39
  interHunkContext = 10
40
41
[delta]
42
  navigate = true
43
  light = false  
44
  side-by-side = true
45
46
47
[status]
48
  branch = true
49
  showStash = true
50
  showUntrackedFiles = all
51
52
[interactive]
53
  diffFilter = delta --color-only --dark --true-color always
54
55
56
[push]
57
  default = simple
58
  autoSetupRemote = true
59
  followTags = true
60
61
[pull]
62
  rebase = true
63
64
[rebase]
65
  autoStash = true
66
  missingCommitsCheck = warn
67
68
[fetch]
69
  prune = true
70
  pruneTags = true
71
  all = true
72
73
[help]
74
  autocorrect = prompt
75
76
[commit]
77
  gpgsign = true
78
  verbose = true
79
80
[core]
81
  excludesfile = ~/.gitignore
82
83
[tag]
84
  gpgsign = true
85
86
[log]
87
  abbrevCommit = true
88
  graphColors = blue,yellow,cyan,megenta,green,red
89
90
[color "diff"]
91
    meta       = black bold
92
    frag       = magenta
93
    context    = white
94
    whitespace = yellow reverse
95
    old        = red
96
97
[color "decorate"]
98
  HEAD = red
99
  branch = blue
100
  tag = yellow
101
  remoteBranch = magenta
102
103
[color "branch"]
104
  current = magenta
105
  local = default
106
  remote = yellow
107
  upstream = green
108
  plain = blue
109