-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
58 lines (52 loc) · 1.25 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
[core]
excludesfile = ~/.gitignore_global
whitespace = cr-at-eol
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = /Volumes/SourceTree/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[alias]
lg = log --graph --pretty=oneline --abbrev-commit --all --decorate
lat = log --graph --pretty=format:'%C(yellow)%h %Cred%ad %C(yellow)%an%Cgreen%d %Creset%s' --date=relative
lk = log --author=karthik
st = status --untracked-files=no
br = branch
co = checkout
cp = cherry-pick
cm = commit -m
pr = pull --rebase
c = commit
rb = rebase
rh = reset --hard HEAD
d = diff
ds = diff --stat
dsc= diff --stat --cached
dcs= diff --stat --cached
dc = diff --cached
s = show
ss = show --stat
[color]
diff=auto
status=auto
branch=auto
interactive=auto
ui=true
pager=true
[apply]
whitespace=fix
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = matching