Relocate private git config and add a hooks path
This commit is contained in:
parent
b95beef08a
commit
37fbba625d
13
gitconfig
13
gitconfig
|
@ -1,13 +1,12 @@
|
||||||
[include]
|
[include]
|
||||||
path = ~/.gitconfig.platform
|
path = ~/.gitconfig.platform
|
||||||
[user]
|
path = ~/.gitconfig.private
|
||||||
name = Michael Campagnaro
|
|
||||||
email = mikecampo@gmail.com
|
|
||||||
[merge]
|
[merge]
|
||||||
summary = true
|
summary = true
|
||||||
tool = vimdiff
|
tool = vimdiff
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.gitignore
|
excludesfile = ~/.gitignore
|
||||||
|
hookspath = ~/.git_hooks
|
||||||
preloadindex = true
|
preloadindex = true
|
||||||
fscache = true
|
fscache = true
|
||||||
[push]
|
[push]
|
||||||
|
@ -31,14 +30,14 @@
|
||||||
old = red
|
old = red
|
||||||
new = green
|
new = green
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
required = true
|
required = true
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
[alias]
|
[alias]
|
||||||
lg = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an [%cn]%d%Creset %s %Cgreen(%cr)%Creset' --date=relative
|
lg = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an [%cn]%d%Creset %s %Cgreen(%cr)%Creset' --date=relative
|
||||||
start = !git init && git commit --allow-empty -m \"Initial commit\"
|
start = !git init && git commit --allow-empty -m \"Initial commit\"
|
||||||
[rerere]
|
[rerere]
|
||||||
enabled = true
|
enabled = true
|
||||||
[gc]
|
[gc]
|
||||||
auto = 0
|
auto = 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user