Skip to content

Commit f94229f

Browse files
committed
auto sync #3
1 parent 8960322 commit f94229f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/workflows/sync.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ jobs:
7777
echo "Remote branch ${{ inputs.target_sync_branch }} exists."
7878
# 创建一个临时分支来fetch远程分支的内容
7979
git fetch upstream ${{ inputs.upstream_sync_branch }}:temp_${{ inputs.upstream_sync_branch }}
80-
git branch -D ${{ inputs.target_sync_branch }} # 强制删除本地分支
8180
git branch ${{ inputs.target_sync_branch }} temp_${{ inputs.upstream_sync_branch }} # 创建新分支
8281
# 强制删除临时分支,没必要
8382
# git branch -D temp_${{ inputs.upstream_sync_branch }}

0 commit comments

Comments
 (0)