Skip to content

Commit e459597

Browse files
authored
Force push branches and tags in mirror workflow
Updated mirror workflow to force push branches and tags.
1 parent 1cd48d3 commit e459597

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/mirror.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
2626
# Push all branches
2727
for branch in $(git for-each-ref --format='%(refname:short)' refs/heads/); do
28-
git push github "$branch"
28+
git push --force github "$branch"
2929
done
3030
3131
# Push all tags
32-
git push github --tags
32+
git push --force github --tags

0 commit comments

Comments
 (0)