-
Notifications
You must be signed in to change notification settings - Fork 86
/
.gitconfig
88 lines (88 loc) · 2.07 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[user]
name = Chris Hunt
email = huntca@gmail.com
signingkey = 46DFA7AE2F37645D
[github]
user = chrishunt
[core]
pager = less -FRSX
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = nvim
autocrlf = false
safecrlf = true
excludesfile = ~/.global_gitignore
[credential]
helper = cache --timeout=3600
[commit]
gpgsign = true
[gpg]
program = gpg
[advice]
statusHints = false
[web]
browser = open
[pretty]
default = format:"%C(yellow)%h %C(blue)%cs %C(reset)%s%C(red)%d %C(green)%an%C(reset), %C(cyan)%ar'"
deploy = format:"%h %cs %<(15,trunc)%an %s"
[push]
config = default
default = tracking
[rebase]
autosquash = true
[merge]
summary = true
tool = vimdiff
conflictstyle = zdiff3
[diff]
colorMoved = true
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = blue
frag = magenta
old = red
new = green
[color "status"]
added = yellow
changed = green
untracked = blue
[alias]
a = add -u
aa = add --all :/
ap = add -u -p
b = browse
bamr = "!source ~/.githelpers && delete_remote_merged_branches"
c = commit -v
co = checkout
d = diff
ds = diff --staged
dw = diff --color-words
l = log --pretty=default
po = push origin HEAD
s = status -s -b
sc = diff --name-only --diff-filter=U
sm = submodule
smu = submodule foreach git pull origin master
specs = "!source ~/.githelpers && recently_modified_specs"
summary = "!source ~/.githelpers && weekly_summary"
td = merge --no-ff
up = "!git fetch upstream && git rebase upstream/master"
w = whatchanged --decorate
wp = whatchanged --decorate -p
wtf = "!git fetch --multiple production origin && git log production/master..origin/master"
[init]
defaultBranch = main
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f