chore: add push-to-gitea.ps1 for shumengya.top

Made-with: Cursor
This commit is contained in:
2026-04-17 22:30:58 +08:00
parent 0c31a4b376
commit 6704cfb418

View File

@@ -0,0 +1,9 @@
# 在已执行 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