forked from doitian/dotfiles-public
/
_gitconfig.sample
72 lines (60 loc) · 1.46 KB
/
_gitconfig.sample
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
[color]
status = auto
diff = auto
branch = auto
interactive = auto
[alias]
br = branch
bs = show-branch
ci = commit
cm = commit
ca = commit --amend
co = checkout
cb = checkout -b
di = diff -p --stat # show difference between working tree and the index
dc = diff --cached --stat # what would be committed with "git commit"
da = diff -p --stat HEAD # what would be committed with "git commit -a"
df = diff --stat # show different files between working tree and the index
dt = difftool
fp = format-patch -s
sa = stash
sl = stash list
sp = stash pop
ll = log --pretty=format:'%h... %an - %s %Cgreen%ar%Creset'
show-graph = log --graph --abbrev-commit --pretty=oneline
me = merge
mt = mergetool
rs = reset
rf = reset --hard
del = reset HEAD
rb = rebase
rc = rebase --continue
ra = rebase --abort
st = status
ls = ls-files
[giggle]
compact-mode = false
main-window-maximized = false
main-window-geometry = 1920x1180+0+20
main-window-view = HistoryView
history-view-vpane-position = 668
file-view-vpane-position = 657
[diff]
tool = kdiff3
[merge]
tool = kdiff3
[core]
excludesfile = ~/.cvsignore
[color "branch"]
current = yellow bold
local = blue bold
remote = green
[color "diff"]
meta = yellow bold
frag = cyan bold
func = blue bold
whitespace = reverse
old = red bold
new = green bold
[push]
default = upstream