How to add things ./normalize.sh if git status has modifications, git add listfile.txt && git commit -m "normalisation permutation" cat >> listfile.txt ./normalize.sh git add listfile.txt && git commit -m "$message"