Files
find/bin/update-git-submodule.sh
Manuel Raynaud 065bd42798 🔨(core) merge scripts directory in bin directory
scripts directory was containing bash scripts but bin directory also
have bash scripts. We merge both in the bin one to find them in only one
place.
2025-01-10 14:46:06 +01:00

5 lines
253 B
Bash
Executable File

#!/bin/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'