You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blog/check_git.sh

9 lines
111 B
Bash

#!/bin/bash
if git diff-index --quiet HEAD --; then
# no change
exit 0
else
# change
exit 1
fi