I would like to port this bash script to batch:
if [[ `git status --porcelain` ]]; then echo "Please commit your changes" exit 1 fi