code-server/ci/clean.sh
2020-02-14 19:46:17 -05:00

12 lines
185 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
main() {
git clean -xffd
git submodule foreach --recursive git clean -xffd
git submodule foreach --recursive git reset --hard
}
main "$@"