yuyang e1cbbe9165
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
4
2025-03-22 10:34:50 +08:00

14 lines
353 B
Bash

#!/bin/bash
if [[ "$(git -C ./basic status --porcelain)" != "" ]]; then
echo ----------------------------------------
echo git status
echo ----------------------------------------
git status
echo ----------------------------------------
echo git diff
echo ----------------------------------------
git diff
exit 1
fi