-
Notifications
You must be signed in to change notification settings - Fork 58
/
.gitconfig
67 lines (67 loc) · 1.56 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
[core]
editor = nvim
[user]
email = [email protected]
name = Jonas Devlieghere
[push]
default = simple
[pull]
rebase = true
[rebase]
autoStash = true
[grep]
extendRegexp = true
lineNumber = true
[color]
branch = auto
diff = auto
status = auto
ui = true
[commit]
gpgsign = true
verbose = false
[diff]
tool = vimdiff
colorMoved = default
[diff "bin"]
textconv = hexdump -v -C
[merge]
tool = vimdiff
[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
anw = !sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -'
ca = diff --cached
co = checkout
cp = cherry-pick
fall = log --all --grep
find = log --grep
fmt = clang-format
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"
nopush = !sh -c 'git remote set-url --push $1 /dev/null' -
ours = checkout --ours
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
theirs = checkout --theirs
uncommit = reset HEAD~
unstage = reset HEAD --
[credential]
helper = cache --timeout=3600
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[delta]
line-numbers = true
side-by-side = true
syntax-theme = "Solarized (dark)"
navigate = true