-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
48 lines (48 loc) · 1.35 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
[user]
name = Federico Knüssel
email = fknussel@gmail.com
[push]
default = current
[alias]
co = checkout
br = branch
st = status
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(green)%d%Creset %s %Cgreen(%cr) %C(blue)<%an>%Creset' --abbrev-commit --date=relative
wc = !git whatchanged
wcp = !git whatchanged -p
d = diff
dc = diff --cached
lol = log --graph --decorate --pretty --oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
delete-merged-branches = "!f() { git checkout --quiet develop && git branch --merged | grep --invert-match '\\*' | xargs -n 1 git branch --delete; git checkout --quiet @{-1}; }; f"
logtree = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[core]
excludesfile = ~/.gitignore
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = less -x4
autocrlf = false
eol = lf
longpaths = true
[color]
ui = true
[color "branch"]
current = green
local = blue
remote = red
[color "diff"]
meta = yellow
frag = magenta
old = red bold
new = green
whitespace = red reverse
[color "status"]
added = green
changed = yellow
untracked = red
[credential]
# Windows
# helper = wincred
# Mac
helper = cache --timeout=86400
[help]
autocorrect = 1