openOutpaint/.githooks/windows/pre-commit
Victor Seiji Hariki 431061f531 initial scripts
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-01 22:41:02 -03:00

9 lines
No EOL
248 B
Bash
Executable file

#!/bin/sh
#
# Script to perform some basic operations to the code before committing.
# Adds file hashes to html script imports for cache busting purposes
powershell .devtools/updatehashes.bat gitadd
# Adds file to current commit
git add "**.html"