forked from jperichon/dotFiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
69 lines (56 loc) · 1.33 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
[user]
name = Lucas Gerbeaux
email = [email protected]
[credential]
helper = osxkeychain
[core]
editor = vim
pager = vimpager
autocrlf = input
safecrlf = true
excludesfile = /Users/lucasgb/.gitignore_global
[color]
branch = auto
diff = auto
status = auto
ui = 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
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[difftool]
prompt = false
[alias]
co = checkout
ci = commit
st = status -sb
hist = log --pretty=format:'[%h] %an %cr: %s'
summary = log --pretty=format:'[%h] %an %ar: %s' --stat
changelog = log --pretty=format:' * %s'
standup = log --since yesterday --author gbxl
purr = pull --rebase
ready = rebase -i @{u}
d = difftool
delete-merged-branches = "!f() { git checkout --quiet master && git branch --merged | grep --invert-match '\\*' | xargs -n 1 git branch --delete; git checkout --quiet @{-1}; }; f"
[push]
default = simple
[pull]
default = simple
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[branch]
autosetupmerge = always