chore: try (again) to make github mirroring include all branches
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -7,6 +7,7 @@ tasks:
|
|||||||
- mirror-to-github: |
|
- mirror-to-github: |
|
||||||
cd ~/typst-collection
|
cd ~/typst-collection
|
||||||
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
|
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
|
||||||
|
# Explicitly fetch all branches & tags
|
||||||
|
git fetch origin '+refs/heads/*:refs/heads/*' '+refs/tags/*:refs/tags/*' --prune
|
||||||
git remote add github git@github.com:swaits/typst-collection.git
|
git remote add github git@github.com:swaits/typst-collection.git
|
||||||
git fetch --all --prune
|
|
||||||
git push --mirror github
|
git push --mirror github
|
||||||
Reference in new issue
Block a user