dirty=`git status -s | grep -v '^??' | wc -l | awk '{print $1}'`
echo $dirty
[ "$dirty" != "0" ] && exit 1
exit 0
