aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorliamwhite <[email protected]>2024-02-25 14:01:11 -0500
committerGitHub <[email protected]>2024-02-25 14:01:11 -0500
commitf9bfdb15559c7ce447151162af61cc69efcbec01 (patch)
treee338646262a38110ae7c9bc3ab1fd7393ba93959
parent15831b19a3d5478d88cfec0cc52555df208dbd15 (diff)
parent4d5d37ae61de2aaf560d6585be855cb55a43bdfa (diff)
downloadyuzu-android-f9bfdb15559c7ce447151162af61cc69efcbec01.tar.gz
yuzu-android-f9bfdb15559c7ce447151162af61cc69efcbec01.zip
Merge pull request #13164 from merryhime/reset-submodules
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