-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
48 lines (40 loc) · 1.09 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 = Giacomo Zinetti
email = [email protected]
[alias]
co = checkout
ca = "! git add -A && git commit -m"
st = status
ci = commit
br = branch
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
# df = "!git diff --color $@ | diff-so-fancy"
df = "!f() { [ -z \"$GIT_PREFIX\" ] || cd \"$GIT_PREFIX\" && git diff --color \"$@\" | diff-so-fancy | less --tabs=4 -RFX; }; f"
yolo = !git add -A && git commit -m \"$(curl -s whatthecommit.com/index.txt)\"
[push]
default = simple
# so much color
[color]
ui = always
[color "diff"]
# meta = yellow bold
commit = green bold
frag = magenta bold
# old = red bold
# new = green bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = "red bold 52"
newNormal = "green bold"
newHighlight = "green bold 22"
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
# added = yellow
# changed = green
# untracked = cyan
[diff "exif"]
textconv = exiftool