From c8c0d98f10c48e30e5884bcc9bf8bd5d39bf88c1 Mon Sep 17 00:00:00 2001 From: iambossTC Date: Fri, 28 Feb 2025 21:06:03 +0800 Subject: [PATCH] add update by gitcode bat --- HiNC-update-gitcode.bat | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 HiNC-update-gitcode.bat diff --git a/HiNC-update-gitcode.bat b/HiNC-update-gitcode.bat new file mode 100644 index 0000000..fa22c7f --- /dev/null +++ b/HiNC-update-gitcode.bat @@ -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 .. \ No newline at end of file