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