-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
105 lines (85 loc) · 1.76 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[user]
name = Serj Sintsov
email = [email protected]
[core]
editor = gedit
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
autocrlf = input
[web]
browser = google-chrome
[rerere]
enabled = 1
autoupdate = 1
[alias]
# Mercurial style outcoming and incoming changes
###
out = log --decorate @{u}..
in = "!git remote update -p; git log --decorate ..@{u}"
# View commits history
###
lg = log --oneline
lgg = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit
# Repo status
###
st = status
stb = status -s -b
# Commit options
###
c = commit
ca = commit -a
cm = commit -m
cam = commit -am
cd = commit --amend
cad = commit -a --amend
# Rebasing
###
rb = rebase
# Pull and Push options
###
ph = push
pl = pull
plrb = pull --rebase
# Merging
###
m = merge
mnc = merge --no-commit
d = diff
dc = diff --cached
dck = diff --cached --check
# Branching
###
co = checkout
cob = checkout -b
b = branch
ba = branch -a
bd = branch -d
br = branch -r
[color]
ui = auto
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[push]
default = current
[merge]
tool = meld
[giggle]
main-window-maximized = true
main-window-geometry = 0x0+0+0
history-view-vpane-position = 374
main-window-view = HistoryView
[http]
sslverify = false
[credential]
helper = cache --timeout=3600