diff --git a/plugins/other/update.js b/plugins/other/update.js index c08794f..5765dea 100644 --- a/plugins/other/update.js +++ b/plugins/other/update.js @@ -108,7 +108,7 @@ export class update extends plugin { } if (plugin) { - cm = `git -C ./plugins/${plugin}/ pull --no-rebase` + cm = `git -C ./plugins/${plugin}/ fetch --all && git -C ./plugins/${plugin}/ reset --hard && git -C ./plugins/${plugin}/ pull` } this.oldCommitId = await this.getcommitId(plugin)