-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
71 lines (65 loc) · 1.75 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
[user]
name = Ashay Humane
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[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
[core]
pager = less -FRSX
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = /usr/bin/vim
excludesfile = /Users/ahumane/.gitignore_global
[alias]
br = branch
co = checkout
st = status
ss = status -s
ci = commit
w = whatchanged
lp = log -p
lt = log --topo-order
gl = log --graph
# glp = log --graph --pretty=oneline --abbrev-commit
glt = log --pretty=format:'%h : %s' --topo-order --graph
rl = reflog
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
# Dry run add
an = add -n .
ap = add -p
ai = add -i
[apply]
whitespace = fix
[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
[init]
templatedir = ~/.git/git-templates/
[github "intuit"]
com = qbo
[hub]
protocol = git
[color "diff-highlight"]
oldNormal = "red bold"
oldHighlight = "red bold 52"
newNormal = "green bold"
newHighlight = "green bold 22"