Skip to content

Commit a558a66

Browse files
committed
sync
1 parent c60a500 commit a558a66

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/my-sync-nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
2828
- name: Update local master branch
2929
run: |
30-
git checkout master
30+
git checkout --track origin/master
3131
git reset --hard upstream/master # 强制同步本地 master 分支
3232
git push origin master --force # 强制推送更新到你的 fork
3333
3434
- name: Merge into my-master
3535
run: |
36-
git checkout my-master
36+
git checkout --track origin/my-master
3737
git merge master --no-ff -m "chore: sync with upstream/master $(date +'%Y-%m-%d')"
3838
git push origin my-master
3939

0 commit comments

Comments
 (0)