Funkin/.github/hooks/pre-push

6 lines
135 B
Text
Raw Normal View History

2023-10-09 12:02:19 -04:00
#!/bin/sh
if git diff --cached --submodule | grep -q "^+"; then
echo "WARNING: You have unpushed changes in submodules."
exit 1
fi