forked from justone/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
35 lines (35 loc) · 924 Bytes
/
.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
[user]
name = Doug Henderson
email = dhenderson@mediatemple.net
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[alias]
st = status
ss = status --short
ci = commit
di = diff
co = checkout
w = whatchanged
vimdiff = difftool --tool=vimdiff -y
vd = difftool --tool=vimdiff -y
unstage = reset HEAD
lol = log --oneline --graph --decorate
hist = log --all --graph --pretty='[%C(cyan)%h%Creset]%C(bold cyan)%d%Creset %s'
showdiff = "!sh -c 'git difftool --tool=vimdiff -y $1^ $1' -"
lg = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
x = "!gitx"
[merge]
tool = vimdiff
[diff]
tool = vimdiff
[difftool]
prompt = false
[push]
default = matching
[core]
excludesfile = ~/.gitignore.global