forked from driesvints/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
executable file
·80 lines (65 loc) · 1.58 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
70
71
72
73
74
75
76
77
78
79
80
[user]
name = Patrick Serrano
email = hello@patrickserrano.com
[github]
user = patrickserrano
[commit]
template = ~/.gitmessage
[core]
excludesfile = /Users/patrick/.gitignore_global
editor = subl -n -w
[credential]
helper = osxkeychain
[alias]
a = "add ."
c = commit
p = push
s = status -sb
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
m = !"bash -c 'git branch | grep -v 'master' | xargs git branch -D'"
nah = !"bash -c 'git reset --hard && git clean -df'"
master = checkout master
clonefirst = !git clone && git submodule update --init --remote
pullall = !git pull && git submodule update --remote
pullmodule = !git submodule update --remote
cloneall = !clone --recursive --j8
[color]
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 = red
[color "interactive"]
error = red bold
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
whitespace = white reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
branch = magenta
[pager]
diff = diff-so-fancy | less --tabs=1,5 -RFX
show = diff-so-fancy | less --tabs=1,5 -RFX
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process