code-server/ci/clean.sh

12 lines
185 B
Bash
Raw Normal View History

2020-02-15 00:54:52 +01:00
#!/usr/bin/env bash
set -euo pipefail
main() {
2020-02-26 03:30:58 +01:00
git clean -Xffd
2020-02-15 00:54:52 +01:00
git submodule foreach --recursive git clean -xffd
git submodule foreach --recursive git reset --hard
}
main "$@"