#[ -n "$$(git status --porcelain)" ]
check-uncommitted:
- @if -n git diff --quiet && -n git diff --cached --quiet && [ -n "$$(git ls-files --others --exclude-standard)" ]; then \
+ @if [ -n "$$(git diff --quiet)" ] && [ -n "$$(git diff --cached --quiet)" ] && [ -n "$$(git ls-files --others --exclude-standard)" ]; then \
echo "Warning: Uncommitted changes detected! Go to autocommit steps..."; \
else \
echo "The first checks have been passed, the repo seems to be clean... But... Still, let's check a little more!"; \