-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
55 lines (55 loc) · 1.17 KB
/
gitconfig
File metadata and controls
55 lines (55 loc) · 1.17 KB
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
[user]
name = Daniel Schweighoefer
email = daniel@netsteward.net
[alias]
a = commit --amend
ai = add --interactive
ad = add
br = branch
c = config
ca = commit -a -m
ci = commit
co = checkout
di = diff --word-diff
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lg = log --oneline --decorate
push = !sh -c 'git push --tags && git push'
st = status -sb
[color]
ui = true
diff = auto
status = auto
branch = auto
[core]
excludesfile = ~/.gitignore
editor = mvim -f
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
autocrlf = input
safecrlf = warn
eol = lf
[merge]
tool = vimdiff
[push]
default = tracking
[color "branch"]
current = yellow reverse
local = green
remote = magenta
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[apply]
whitespace = nowarn
[format]
retty = %C(yellow)%h%Creset %s
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f