-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
68 lines (57 loc) · 1.5 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
[user]
name = Max Titov
email = eolexe@gmail.com
[github]
user = eolexe
[core]
mergeoptions = --no-ff --no-commit
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore_global
[alias]
st = status
s = status -s
aa = add --all
c = commit
br = branch
co = checkout
cp = cherry-pick
diffc = diff --cached
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
ign = ls-files -o -i --exclude-standard
last = cat-file commit HEAD
[color]
ui = true
[color "diff"]
meta = yellow
frag = cyan
old = red bold
new = green bold
whitespace = red reverse
[color "branch"]
current = red bold
local = yellow
remote = magenta
[color "status"]
added = green
changed = red
untracked = cyan
[difftool "opendiff"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "opendiff"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[format]
pretty = %Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
graph = true
[push]
default = simple
[url "git@github.com:"]
insteadOf = https://github.com/
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true