-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
59 lines (47 loc) · 1.03 KB
/
gitconfig
File metadata and controls
59 lines (47 loc) · 1.03 KB
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
[alias]
st = status
br = branch -vv
co = checkout
ci = commit
unstash = stash pop
r = rebase master
ll = log --oneline -3
llog = log --oneline
l = ! git llog --first-parent `git my-base`~2..
files = ! git log --name-status --oneline `git my-base`..
filesdiff = ! git diff --name-only $(git merge-base HEAD $(git my-base))
doc = ! $BROWSER https://git-scm.com/docs/git-$1
root = rev-parse --show-toplevel
[core]
editor = blocking-editor
[log]
decorate = short
[notes]
rewriteRef = refs/notes/commits
[color]
ui = auto
[color "grep"]
linenumber = yellow bold
filename = magenta
[color "branch"]
current = red
local = bold
remote = green
[color "diff"]
meta = blue
[diff]
noprefix
[push]
default = upstream
[pager]
log = diff-so-fancy | less
show = diff-so-fancy | less
diff = diff-so-fancy | less
[tig]
main-view-date = relative
blame-view-date = relative
line-graphics = utf-8
main-view-author = width=7
blame-view-author = width=7
editor-line-number = false
ignore-space = all