fix: correct git user to hangshuo652
This commit is contained in:
+3
-2
@@ -5,12 +5,13 @@ REM 仓库: https://gittea.dev/hsyx3952501/jcl-cobol-git
|
|||||||
REM ==========================================
|
REM ==========================================
|
||||||
setlocal
|
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 TOKEN=1afb8ef3b16901f0e44238fff78fca5c0f1ff570
|
||||||
|
set USER=hangshuo652
|
||||||
|
|
||||||
REM 设置远程仓库(HTTPS + Token 认证)
|
REM 设置远程仓库(HTTPS + Token 认证)
|
||||||
git remote remove origin 2>nul
|
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 分支
|
REM 推送到 main 分支
|
||||||
echo.
|
echo.
|
||||||
|
|||||||
Reference in New Issue
Block a user