-
Notifications
You must be signed in to change notification settings - Fork 8
/
.gitconfig
49 lines (49 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
[user]
name = Derrick Heindel
email = [email protected]
[push]
default = current
[pull]
ff = only
default = current
[checkout]
defaultRemote = origin
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = blue
frag = magenta bold
commit = blue bold
old = red bold
new = green bold
whitespace = red reverse
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
excludesfile = /Users/dheindel/.gitignore_global
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[alias]
s = show --format='%C(blue bold)commit %H %C(green)%d%Creset%nAuthor: %an%nDate: %aD%n%n%B'
meld = commit -a --amend --no-edit
l = log --oneline
st = stash save
delete-tag = push --delete origin
fixup = !bash -c 'git log -n 50 --pretty=format:\"%h %s\" --no-merges | fzf | cut -c -7 | xargs -o git commit \"$@\" --fixup' -
wip = "!f() { git commit -am \"WIP - $1\" ; }; f"
tmp = "!f() { git commit -am \"TMP - $1\" ; }; f"
fix = "!f() { git commit -am \"FIX - $1\" ; }; f"
todo = "!f() { git commit -am \"TODO - $1\" ; }; f"
[rebase]
autosquash = true
[init]
defaultBranch = live
[credential]
helper = osxkeychain