-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
68 lines (54 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[user]
name = Greg Jopa
email = [email protected]
[github]
user = gregjopa
[alias]
a = add
aa = add -A
ap = add -p
c = commit
ca = !git add -A && git commit
co = checkout
cob = checkout -b
l = log --abbrev-commit --date=relative
lf = !git l --pretty=full
lg = log -p
s = status
st = status -sb
undo = reset --soft HEAD~1
unstage = reset HEAD
delete-merged-branches = "!git co master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
[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 = cyan
[format]
pretty = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset
[push]
default = current
[pull]
rebase = true
[fetch]
prune = true
[rerere]
enabled = true
[core]
autocrlf = input
editor = code --wait
excludesfile = ~/.gitignore
[apply]
whitespace = fix
[credential]
helper = osxkeychain