fix: reset submodule

This commit is contained in:
linonetwo committed 2023-01-09 15:12:21 +08:00
1 parent 51a427496c
commit b663e92be8
1 file changed
+1
+1
View File
@@ -15,3 +15,4 @@ cd(`${path.join(repoDirectory, 'src-OctoBase')}`);
await $`git checkout ${octoBaseBranchName}`;
await $`git submodule update --recursive && git submodule update --remote`;
await $`git pull origin ${octoBaseBranchName}`;
await $`git reset --hard origin/${octoBaseBranchName}`;