summaryrefslogtreecommitdiffstats
path: root/tools/reset-submodules.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtools/reset-submodules.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/reset-submodules.sh b/tools/reset-submodules.sh
new file mode 100755
index 000000000..6fdfe0bcd
--- /dev/null
+++ b/tools/reset-submodules.sh
@@ -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