-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
68 lines (68 loc) · 1.82 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 = nmalzieu
email = noe.malzieu@gmail.com
[color]
diff = auto
branch = auto
status = auto
pager = true
ui = true
[color "diff"]
meta = 227
frag = magenta bold
old = red bold
new = green bold
commit = 227 bold
whitespace = red reverse
[color "status"]
header = bold yellow
added = bold green
changed = bold red
untracked = white
[gc]
packrefs = true
[alias]
ci = commit
fmerge = "!git diff --name-only $(git merge-base production HEAD) HEAD"
co = checkout
st = status
br = branch
patches = log -p
tree = "log --graph --decorate --abbrev-commit --date-order --pretty=format:'%Cgreen%h%Creset : %s%Cred%d%Creset (%Cblue%an%Creset, %Cblue%ar%Creset)'"
tree-all = "log --graph --decorate --abbrev-commit --date-order --pretty=format:'%Cgreen%h%Creset : %s%Cred%d%Creset (%Cblue%an%Creset, %Cblue%ar%Creset)' --all"
branchdate = "!git for-each-ref --sort=-committerdate --format='%(refname) %(committerdate) %(authorname)' | grep -v 'origin/HEAD' | sed 's/refs\\///g' | sed 's/heads\\///g'"
patch = !git --no-pager diff --no-color
mylog = !git log --no-merges --author=\"$(git config user.name)\"
[core]
editor = vim
legacyheaders = false
pager = diff-so-fancy | less --tabs=4 -RFX
excludesfile = ~/.config/git/gitignore_global
[branch]
autosetuprebase = always
[repack]
usedeltabaseoffset = true
[difftool]
prompt = false
[github]
user = nmalzieu
[push]
default = current
[help]
autocorrect = 1
[merge]
defaultToUpstream = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[rerere]
enabled = true
[pull]
ff = only
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true