github.com/m3db/m3@v1.5.0/.buildkite/hooks/pre-exit (about) 1 #!/bin/bash 2 3 set -eo pipefail 4 5 echo "--- :git: cleaning checkout" 6 if [[ -d "./_tools" ]]; then 7 chmod -R +w ./_tools 8 fi 9 git clean -dffx