-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
executable file
·64 lines (63 loc) · 1.49 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
[user]
name = Nick Vyrko
email = [email protected]
signingKey = DA66D6118C5669D5
[alias]
co = checkout
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
lol = log --pretty=oneline --abbrev-commit --graph --decorate
snapshot = !git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
rmbranch = "!f(){ git branch -d ${1} && git push origin --delete ${1}; };f"
[core]
excludesfile = ~/.gitignore
# editor = subl -n -w
editor = vim
autocrlf = input
ignorecase = true
[help]
autocorrect = 1
[apply]
whitespace = nowarn
[push]
default = current
[merge]
conflictstyle = diff3
[branch]
autosetupmerge = true
autosetuprebase = always
mergeoptions = --no-ff
[status]
relativePaths = true
[format]
pretty = %C(yellow)%h%Creset %s %C(red)(%an, %cr)%Creset
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[color "status"]
added = green
changed = red
untracked = yellow
[color "diff"]
meta = blue bold reverse
frag = magenta bold
old = red bold
new = green bold
[difftool]
prompt = false
[pull]
rebase = true
[credential]
helper = osxkeychain
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[commit]
gpgsign = true