diff --git a/packages/gitmars/src/gitm-admin.ts b/packages/gitmars/src/gitm-admin.ts index 0153fe9a..621604b2 100755 --- a/packages/gitmars/src/gitm-admin.ts +++ b/packages/gitmars/src/gitm-admin.ts @@ -682,6 +682,7 @@ updateProgram.action( } else if (opt.mode === 2) { mode = ' --strategy-option theirs' } + fetch() if (opts.includes(type)) { // 是否需要合并 const isNeedCombine = !getIsMergedTargetBranch(