-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
61 lines (51 loc) · 1.34 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
[user]
email = austin@austinpray.com
name = Austin Pray
[core]
excludesfile = ~/dotfiles/.gitignore_global
editor = vim
pager = delta --plus-color="#012800" --minus-color="#340001" --theme='base16'
autocrlf = input
[interactive]
diffFilter = delta --color-only
[push]
default = simple
[color]
ui = true
[color "diff"]
meta = yellow
frag = magenta bold
old = red bold
new = green bold
commit = yellow bold
whitespace = red reverse
[alias]
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"
syncup = "!f() { git checkout --quiet master && git pull upstream master && git push origin master; }; f"
visual = "!f() { gitk --simplify-by-decoration --all; }; f"
commitdraft = "!f() { git commit -t ~/Notes/cdraft.txt; }; f"
d = "difftool"
showtrackedignored = ls-files -i --exclude-standard
[difftool]
prompt = false
[diff]
tool = vimdiff
[mergetool]
prompt = false
keepBackup = false
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[rerere]
enabled = true
[rebase]
autosquash = true
[pull]
ff = only