This repository has been archived on 2025-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
checkout/__test__/verify-clean.sh

14 lines
353 B
Bash
Raw Normal View History

2025-06-05 13:07:41 +08:00
#!/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