-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
62 lines (62 loc) · 1.44 KB
/
gitconfig
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
51
52
53
54
55
56
57
58
59
60
61
62
[credential]
helper = cache
[user]
name = Richard Race
email = 1273965+richrace@users.noreply.github.com
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHunSbM97f33eDQ+vbtoXW1Rv/0iNEbJZqH+TZdCPvkh
[difftool]
prompt = false
[alias]
cob = checkout -b
com = checkout main
co = checkout
s = status
c = commit -v
cm = commit -v -m
d = diff --color
ds = diff --color --staged
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
a = add
ap = add -p
au = add -u
pr = pull --rebase
p = pull
[core]
pager = diff-so-fancy | less --tabs=2 -cr
excludesfile = /Users/rich/.gitignore_global
editor = code --wait
[color]
ui = always
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[color "diff"]
meta = yellow bold
commit = green bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = "red bold 52"
newNormal = "green bold"
newHighlight = "green bold 22"
[commit]
gpgsign = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = main
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign