Added pre-commit hooks

This commit is contained in:
Michele Cereda
2022-04-24 15:27:47 +02:00
parent e2f2dbfec8
commit 8a255d17fe
12 changed files with 35 additions and 20 deletions

View File

@@ -373,7 +373,7 @@ Just save the output from `git diff` to get a patch file:
git diff > file.patch
# Staged files only.
git diff --output file.patch --cached
git diff --output file.patch --cached
```
The output from `git diff` just shows changes to **text** files by default, no metadata or other information about commits or branches.