summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMerry <git@mary.rs>2024-02-25 18:11:51 +0100
committerMerry <git@mary.rs>2024-02-25 18:17:01 +0100
commit4d5d37ae61de2aaf560d6585be855cb55a43bdfa (patch)
tree660f69fe93a041a7ad7eb3bf51c057893a0323f2 /tools
parentMerge pull request #13160 from liamwhite/time (diff)
downloadyuzu-4d5d37ae61de2aaf560d6585be855cb55a43bdfa.tar
yuzu-4d5d37ae61de2aaf560d6585be855cb55a43bdfa.tar.gz
yuzu-4d5d37ae61de2aaf560d6585be855cb55a43bdfa.tar.bz2
yuzu-4d5d37ae61de2aaf560d6585be855cb55a43bdfa.tar.lz
yuzu-4d5d37ae61de2aaf560d6585be855cb55a43bdfa.tar.xz
yuzu-4d5d37ae61de2aaf560d6585be855cb55a43bdfa.tar.zst
yuzu-4d5d37ae61de2aaf560d6585be855cb55a43bdfa.zip
Diffstat (limited to 'tools')
-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