Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: reset submodule

linonetwob663e92be8f5
diff --git a/client-app/scripts/buildSubModules.mjs b/client-app/scripts/buildSubModules.mjs
index 60050e69eb..7edb08b986 100644
--- a/client-app/scripts/buildSubModules.mjs
+++ b/client-app/scripts/buildSubModules.mjs
@@ -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}`;