diff --git a/Makefile b/Makefile index 988506a..d37a191 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,8 @@ build: git add . - git commit -m "update" + @if git diff --cached --quiet; then \ + echo "No changes to commit"; \ + else \ + git commit -m "update"; \ + fi git push origin main