1if [ -n "$(git status --porcelain)" ]; then 2 echo 'warning: source tree contains uncommitted changes; .gitignore patterns may need to be fixed' 3 git status 4 false 5fi 6