mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-16 16:54:24 +00:00
Added pre-commit hooks
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user