[git] avoid useless whitespace and leftover conflict markers
This commit is contained in:
parent
e392a4b936
commit
e66b30080a
2 changed files with 4 additions and 0 deletions
3
git-hooks/pre-commit
Executable file
3
git-hooks/pre-commit
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
git diff --check
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
quotepath = false
|
||||
whitespace = trailing-space,space-before-tab
|
||||
excludesfile = ~/config/gitignore
|
||||
hooksPath = ~/config/git-hooks
|
||||
[diff]
|
||||
mnemonicprefix = true
|
||||
renames = copies
|
||||
|
|
|
|||
Loading…
Reference in a new issue