add force
This commit is contained in:
parent
2541179d38
commit
8eeef6737c
5
.github/workflows/mirror.yml
vendored
5
.github/workflows/mirror.yml
vendored
@ -15,7 +15,6 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: clone remote
|
- name: clone remote
|
||||||
shell: pwsh
|
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email 3695888@qq.com
|
git config --global user.email 3695888@qq.com
|
||||||
git config --global user.name shenjack-action
|
git config --global user.name shenjack-action
|
||||||
@ -24,5 +23,5 @@ jobs:
|
|||||||
for branch in $(git branch -r | grep -v '\->'); do
|
for branch in $(git branch -r | grep -v '\->'); do
|
||||||
git branch --track ${branch#origin/} $branch
|
git branch --track ${branch#origin/} $branch
|
||||||
done
|
done
|
||||||
git pull --all
|
git pull --all --tags
|
||||||
git push origin --all
|
git push origin --all --tags --force
|
||||||
|
Loading…
Reference in New Issue
Block a user