# 在已执行 tea repos create 创建 mengpost 后,关联 https://shumengya.top/shumengya/mengpost 并推送 main $ErrorActionPreference = "Stop" $Origin = "https://shumengya.top/shumengya/mengpost.git" Set-Location (Split-Path -Parent $PSScriptRoot) git remote remove origin 2>$null git remote add origin $Origin git branch -M main git push -u origin main