code-server/ci/clean.sh

12 lines
185 B
Bash
Raw Normal View History

2020-02-14 23:54:52 +00:00
#!/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 "$@"