mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 18:27:44 +08:00
Optimized cnb mirror CI (#7117)
This commit is contained in:
parent
4ff0d284a9
commit
cc61a3602f
2
.github/workflows/cnb.yml
vendored
2
.github/workflows/cnb.yml
vendored
@ -18,4 +18,4 @@ jobs:
|
|||||||
# git fetch -p origin
|
# git fetch -p origin
|
||||||
# git for-each-ref --format 'delete %(refname)' refs/pull | git update-ref --stdin
|
# git for-each-ref --format 'delete %(refname)' refs/pull | git update-ref --stdin
|
||||||
# git push --mirror
|
# git push --mirror
|
||||||
git push --prune "$DESTINATION_REPO" "refs/heads/*:refs/heads/*" "refs/tags/*:refs/tags/*"
|
git push -f --prune "$DESTINATION_REPO" "refs/heads/*:refs/heads/*" "refs/tags/*:refs/tags/*"
|
||||||
|
Loading…
Reference in New Issue
Block a user