From 8eeef6737cd0432ce53267da3a87a9e1322c1b5f Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 16 Dec 2023 16:18:19 +0800 Subject: [PATCH] add force --- .github/workflows/mirror.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 05de84e..aa404e9 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -15,7 +15,6 @@ jobs: uses: actions/checkout@v4 - name: clone remote - shell: pwsh run: | git config --global user.email 3695888@qq.com git config --global user.name shenjack-action @@ -24,5 +23,5 @@ jobs: for branch in $(git branch -r | grep -v '\->'); do git branch --track ${branch#origin/} $branch done - git pull --all - git push origin --all + git pull --all --tags + git push origin --all --tags --force