2020-02-15 06:54:52 +07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
main() {
|
2020-04-30 18:52:54 +07:00
|
|
|
cd "$(dirname "${0}")/../.."
|
|
|
|
|
2020-02-26 09:30:58 +07:00
|
|
|
git clean -Xffd
|
2020-02-15 06:54:52 +07:00
|
|
|
git submodule foreach --recursive git clean -xffd
|
|
|
|
git submodule foreach --recursive git reset --hard
|
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|