Skip to content

Commit 942710b

Browse files
committed
auto sync #3
1 parent 65df86e commit 942710b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
# 创建一个临时分支来fetch远程分支的内容
7979
git fetch upstream ${{ inputs.upstream_sync_branch }}:temp_${{ inputs.upstream_sync_branch }}
8080
git checkout temp_${{ inputs.upstream_sync_branch }}
81-
git branch -D origin/${{ inputs.target_sync_branch }} # 强制删除本地分支
81+
git branch -D ${{ inputs.target_sync_branch }} # 强制删除本地分支
8282
git branch ${{ inputs.target_sync_branch }} temp_${{ inputs.upstream_sync_branch }} # 创建新分支
8383
# 强制删除临时分支,没必要
8484
# git branch -D temp_${{ inputs.upstream_sync_branch }}

0 commit comments

Comments
 (0)