-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
77 lines (73 loc) · 1.69 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
[user]
name = Emory Petermann
[core]
editor = vim -u ~/.config/nvim/git.vim
pager = emojify | diff-so-fancy | less --tabs=4 -RF
preloadindex = true
fscache = true
autocrlf = false
ignorecase = false
[commit]
cleanup = strip
[push]
default = current
[alias]
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
aa = add .
ac = !git add -A && git commit -m
c = commit --verbose
ca = commit -a --verbose
cm = commit -m
cam = commit -a -m
m = commit --amend --verbose
d = diff
ds = diff --stat
dc = diff --cached
a = add
ap = add -p
aa = add .
c = commit --verbose
ca = commit -a --verbose
cm = commit -m
cam = commit -a -m
m = commit --amend --verbose
d = diff
ds = diff --stat
dc = diff --cached
s = status -s
st = status
co = checkout
cob = checkout -b
# list branches sorted by last modified
b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"
# list aliases
la = "!git config -l | grep alias | cut -c 7-"
[pull]
rebase = true
[color "diff"]
whitespace = red reverse
[rerere]
enabled = true
[diff-so-fancy]
markEmptyLines = false
stripLeadingSymbols = false
[status]
;submoduleSummary = true
[rebase]
autostash = true
[fetch]
recurseSubmodules = true
[gc]
auto = 256
[winUpdater]
recentlySeenVersion = 2.24.1.windows.2
[includeIf "gitdir:~/"]
path = ~/.gitconfig-default
[includeIf "gitdir:repos/"]
path = ~/.gitconfig-default
[includeIf "gitdir:capbase/"]
path = ~/.gitconfig-capbase
[gui]
recentrepo = E:/repos/capbase