Former-commit-id: d5a00b46f119646a05923014fd0326bea6044efc
@@ -33,3 +33,9 @@ then
exit 1
fi
+if git status | grep -v --quiet "nothing to commit, working directory clean"
+then
+ echo "Error: git is not committed or not clean"
+ exit 1
+fi
+