github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/.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