-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
70 lines (70 loc) · 1.46 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
63
64
65
66
67
68
69
70
[core]
excludesfile = /Users/cmoel/.gitignore_global
editor = nvim
autocrlf = input
pager = diff-highlight | less -FRSX
ignorecase = false
attributesfile = /Users/cmoel/.gitattributes
[diff]
tool = vimdiff
compactionHeuristic = 1
[alias]
co = checkout
dc = diff --cached
st = status
ci = commit -v
di = diff
br = branch
df = diff
hist = log --graph --decorate --oneline --all
who = log --pretty=format:'%C(yellow)%h%C(reset) - %an [%C(green)%ar%C(reset)] %s'
glog = log -E -i --grep
unstage = reset
recent = for-each-ref --count=5 --sort=-committerdate refs/heads/ --format='%(refname:short)'
brf = checkout !$(git recent | fzf)
ctags = !.git/hooks/ctags
[user]
name = Christopher Moeller
email = [email protected]
signingkey = CD8D6DD1DF7E65EE
[color]
ui = true
[merge]
tool = vimdiff
[hub]
protocol = https
[pull]
rebase = true
[apply]
whitespace = nowarn
[push]
default = current
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[github]
user = cmoel
[rebase]
autosquash = true
[gitsh]
noGreeting = true
defaultCommand = status --short --branch && :echo
[fetch]
prune = true
[interactive]
diffFilter = diff-highlight
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pager]
log = diff-highlight | less -FRSX
show = diff-highlight | less -FRSX
diff = diff-highlight | less -FRSX
[commit]
gpgSign = true
[init]
defaultBranch = main
[gpg]
program = gpg