-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
51 lines (51 loc) · 1.48 KB
/
gitconfig
File metadata and controls
51 lines (51 loc) · 1.48 KB
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
[user]
email = pierre@pingtimeout.fr
name = Pierre Laporte
[push]
default = current
[alias]
st = status
pr = pull --rebase
dc = diff --cached
wip = !git add -u && git commit -m "WIP"
delete-merged-branches = !git branch --merged | egrep -v '^\\*|master' | xargs git branch -d
tree = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow bold)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset %C(cyan)%GS%Creset' --abbrev-commit --all
pushit = !open "spotify:track:0GugYsbXWlfLOgsmtsdxzg" && git push
it = !git init && git commit -m \"Initial commit\" --allow-empty
[color]
ui = true
[core]
editor = nvim
excludesfile = /Users/plaporte/.gitignore
#pager = less --tabs=4 -RFX
pager = diff-so-fancy | less --tabs=4 -RFX
attributesfile = /Users/plaporte/.gitattributes
[help]
autocorrect = 1
[merge]
tool = vimdiff
[diff "gzip"]
binary = true
textconv = /usr/bin/gzcat
[rebase]
autoStash = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[diff-so-fancy]
markEmptyLines = true
stripLeadingSymbols = true
[init]
defaultBranch = main
[diff "dyff"]
command = "dyff_between() { dyff --color on between --omit-header \"$2\" \"$5\"; }; dyff_between"