-
Notifications
You must be signed in to change notification settings - Fork 1
/
dot-gitconfig
61 lines (61 loc) · 1.36 KB
/
dot-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
[user]
name = Danilo Sousa
email = [email protected]
[push]
default = current
[fetch]
prune = true
[color]
ui = true
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[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
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[alias]
st = status
ci = commit
cv = commit -v
cav = commit -av
amend = commit --amend
br = branch -v
co = checkout
pull = pull --ff-only
pr = pull --rebase
po = push origin
df = diff --word-diff=color --unified=1
dc = diff --cached --word-diff=color --unified=1
dt = difftool
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 # Show files ignored by git:
cleanup = !git branch --merged | grep -v master | xargs -n 1 git branch -d
undo = reset HEAD^
[credential]
helper = cache --timeout=28800
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
[merge]
tool = vimdiff
[help]
autocorrect = 1
[github]
user = danilopopeye