#! /bin/bash STATUS=$(git status --porcelain) STATUS_LEN=${#STATUS} if [ $STATUS_LEN = 0 ]; then exit 0 else git add . git commit --verbose # -qm "CI/CD Commit: $(date -Iseconds)" fi