Improved script portability by switching to `/usr/bin/env bash`, ensuring better support across environments where `bash` may not be the default shell.
5 lines
261 B
Bash
Executable File
5 lines
261 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
git submodule update --init --recursive
|
|
git submodule foreach 'git fetch origin; git checkout $(git rev-parse --abbrev-ref HEAD); git reset --hard origin/$(git rev-parse --abbrev-ref HEAD); git submodule update --recursive; git clean -dfx'
|