mirror of https://github.com/kianby/blog
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.
9 lines
111 B
Bash
9 lines
111 B
Bash
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
if git diff-index --quiet HEAD --; then
|
||
|
# no change
|
||
|
exit 0
|
||
|
else
|
||
|
# change
|
||
|
exit 1
|
||
|
fi
|