-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
58 lines (58 loc) · 1.2 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
[user]
name = Matt Blair
email = [email protected]
signingkey = 68B34D56
[alias]
co = checkout
cp = cherry-pick
wlog = log --color-words -p
wdiff = diff --color-words
st = status --ignore-submodules=untracked
br = branch
tags-sorted = !git tag --sort=creatordate
addnw = !sh -c 'git diff -w --no-color "$@" | git apply --cached --ignore-whitespace' -
top = rev-parse --show-toplevel
[core]
editor = emacsclient -c
excludesfile = ~/.gitignore_global
pager = less
whitespace = trailing-space,space-before-tab
autocrlf = input
[color]
ui = auto
diff = auto
interactive = auto
branch = auto
[color "status"]
changed = yellow
added = green
untracked = red
[branch]
autosetuprebase = always
[github]
user = mblair
[push]
default = simple
[web]
browser = open
[pull]
rebase = true
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[ghi]
token = !security find-internet-password -a mblair -s github.com -l 'ghi token' -w
[filter "lfs"]
required = true
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
clean = git-lfs clean -- %f
[diff]
compactionHeuristic = true
[fetch]
prune = true
[merge]
tool = gvimdiff
[init]
defaultBranch = main