-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
60 lines (60 loc) · 1.45 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
[user]
name = Gauthier Deroo
email = g.deroo@gmail.com
[github]
user = GauthierD-
[color]
diff = auto
status = auto
branch = auto
ui = 1
[color "branch"]
current = yellow reverse
remote = green bold
local = blue bold
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[push]
default = current
[core]
editor = vim
autocrlf = false
mergeoptions = --no-edit
[merge]
tool = vimdiff
[instaweb]
local = true
httpd = apache2 -f
port = 4321
browser = google-chrome
modulepath = /usr/lib/apache2/modules
[alias]
a = add --all
adda = add .
s = status -s
st = status
ss = status
b = branch
c = commit -m
pl = pull
p = push
ck = checkout
rank = shortlog -sne --no-merges
graph = log --oneline --decorate --graph
logcommit = log --pretty=format:'%C(yellow) %h %Cblue %cn %C(green) %ss'
l = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
ll = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
oneline = log --oneline --decorate --color
changes = diff --name-status
ds = diff --stat
d = diff
dc = diff --cached
dh = diff HEAD
amend = commit --amend
rmm = !git ls-files -d -z | xargs -0 git-rm && git status
[help]
autocorrect = 1