add update by gitcode bat

This commit is contained in:
iambossTC 2025-02-28 21:06:03 +08:00
parent acef069fb0
commit c8c0d98f10

8
HiNC-update-gitcode.bat Normal file
View File

@ -0,0 +1,8 @@
cd /D "%~dp0."
set "git=%~dp0PortableGit/bin/git.exe"
set "remoteRepo=https://gitcode.com/mq2kr3j92/HiNC-Win-Product.git"
%git% clone %remoteRepo% HiNC
cd HiNC
%git% remote set-url origin %remoteRepo%
%git% reset --hard && %git% pull
cd ..