diff --git a/git-push.cmd b/git-push.cmd index 6026342..7132be8 100644 --- a/git-push.cmd +++ b/git-push.cmd @@ -5,12 +5,13 @@ REM 仓库: https://gittea.dev/hsyx3952501/jcl-cobol-git REM ========================================== setlocal -set REMOTE_URL=https://gittea.dev/hsyx3952501/jcl-cobol-git.git +set REMOTE_URL=https://gittea.dev/hangshuo652/jcl-cobol-git.git set TOKEN=1afb8ef3b16901f0e44238fff78fca5c0f1ff570 +set USER=hangshuo652 REM 设置远程仓库(HTTPS + Token 认证) git remote remove origin 2>nul -git remote add origin https://hsyx3952501:%TOKEN%@gittea.dev/hsyx3952501/jcl-cobol-git.git +git remote add origin https://%USER%:%TOKEN%@gittea.dev/hangshuo652/jcl-cobol-git.git REM 推送到 main 分支 echo.