-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitconfig
52 lines (43 loc) · 1.18 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
[user]
name = Jamal El Milahi
email = jamal@bloc40.com
[color]
ui = auto
diff = auto
branch = auto
[commit]
template = /etc/git-commit-template
[core]
pager = less
editor = vim
filemode = true
logallrefupdates = true
whitespace = trailing-space,space-before-tab,indent-with-non-tab
excludesfile = $HOME/.gitignore_global
[alias]
br = !git branch --color -v | cut -c1-100
ci = commit
cia = commit --amend
cl = clean -df
co = checkout
df = diff
dfs = diff --staged
lg = log -20 --oneline --decorate --graph
lll = log -20 --graph --pretty=format:'%Cgreen%h %Cred%d%Creset %s%Creset %C(black bold)(%cr)%Creset %Cblue<%an>%Creset'
lp = log -p
st = status
sts = status -s
web = instaweb --httpd=webrick
webs = instaweb --stop
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[color "status"]
added = green
changed = red bold
untracked = magenta bold
;[gc]
;auto = 1