tools: Add reset submodules script

This commit is contained in:
Merry 2024-02-25 17:11:51 +00:00
parent 9e27dbb53b
commit 4d5d37ae61
1 changed files with 8 additions and 0 deletions

8
tools/reset-submodules.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash -ex
# SPDX-FileCopyrightText: 2024 yuzu Emulator Project
# SPDX-License-Identifier: MIT
git submodule sync
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive