瀏覽代碼

Merge pull request #13164 from merryhime/reset-submodules

tools: Add reset submodules script
liamwhite 2 年之前
父節點
當前提交
f9bfdb1555
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      tools/reset-submodules.sh

+ 8 - 0
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