aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMerry <[email protected]>2024-02-25 17:11:51 +0000
committerMerry <[email protected]>2024-02-25 17:17:01 +0000
commit4d5d37ae61de2aaf560d6585be855cb55a43bdfa (patch)
tree660f69fe93a041a7ad7eb3bf51c057893a0323f2
parent9e27dbb53b854d83b4c9667db9e29652616f798a (diff)
downloadyuzu-android-4d5d37ae61de2aaf560d6585be855cb55a43bdfa.tar.gz
yuzu-android-4d5d37ae61de2aaf560d6585be855cb55a43bdfa.zip
tools: Add reset submodules script
-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