File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2525 run : |
2626 cd terraform-provider-tencentcloud
2727 git fetch --all
28+ git branch -r --list "origin/coding-test/*" | grep -v HEAD | grep -v master | xargs -I {} git checkout -t {}
29+ git branch -r --list "origin/pipeline/*" | grep -v HEAD | grep -v master | xargs -I {} git checkout -t {}
2830 git remote add tgit_origin https://${{ secrets.USERNAME }}:${{ secrets.PASSWORD }}@git.code.tencent.com/tencentcloudstack/terraform-provider-tencentcloud.git
29- for remote in ` git branch -r | grep -v "\->" | grep -v "master"`; do git branch --track ${remote#origin/} $remote; done
30- git push -f --tags tgit_origin master:main
31- git push -f --all tgit_origin
31+ git push -u tgit_origin --all
32+ git push -u tgit_origin master:main
33+ git push -u tgit_origin --tags
You can’t perform that action at this time.
0 commit comments