From 0ff3440232d6bc9226e37c41c05c5aead03f37fd Mon Sep 17 00:00:00 2001 From: Tobias Date: Sun, 3 Mar 2024 12:39:55 +0100 Subject: [PATCH] tools: Add reset submodules script (#7465) Co-authored-by: merry <8682882+merryhime@users.noreply.github.com> --- tools/reset-submodules.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/reset-submodules.sh diff --git a/tools/reset-submodules.sh b/tools/reset-submodules.sh new file mode 100644 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