-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
57 lines (57 loc) · 1.8 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
[winUpdater]
recentlySeenVersion = 2.16.2.windows.1
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[core]
editor = vim
pager = diff-so-fancy | less --tabs=2 -RFX
[help]
autocorrect = 1
[status]
showuntrackedfiles = all
[alias]
aa = add --all
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort
amend = commit --amend
ap = add --patch
b = branch -v
ca = diff --cached
co = checkout
com = commit
cp = cherry-pick
dif = diff
fall = log --all --grep
find = log --grep
git = "!exec git"
graph = log --graph --color --pretty=format:"%C(yellow)%H%C(green)%d%C(reset)%n%x20%cd%n%x20%cn%x20(%ce)%n%x20%s%n"
graph1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
graph2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
ll = log --stat
out = log -p
patch = show HEAD -U999999
review = !git diff --name-only --cached | xargs -n 1 git blame --porcelain | grep \"^author \" | sort | uniq -c | sort -nr | head -10
sha = rev-parse HEAD
st = status
top = log --stat -n 1
uncommit = reset HEAD~
undo = reset --soft HEAD^
unstage = reset HEAD --
[push]
followTags = true
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse