HiNC-Manager-Win/HiNC-update-gitcode.bat

8 lines
240 B
Batchfile

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 ..