Skip to content

Commit

Permalink
fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Lifeismana committed Oct 16, 2024
1 parent 874cb19 commit 245425e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ else
done
fi

if git diff-index --quiet HEAD; then
if ! git diff-index --cached --quiet HEAD; then
git commit -m "$Commit_message | $(git status --porcelain | wc -l) files | $(git status --porcelain|awk '{print "basename " $2}'| sh | sed '{:q;N;s/\n/, /g;t q}')"
git push
fi

0 comments on commit 245425e

Please sign in to comment.