From 150e77b8f2bd4707c3068c9256ae284e8070fba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E5=B8=85?= <133814250@qq.com> Date: Sun, 15 May 2022 21:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8F=92=E4=BB=B6=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hotgo-server/pull.bat | 15 --------------- hotgo-server/push.bat | 11 ----------- 2 files changed, 26 deletions(-) delete mode 100644 hotgo-server/pull.bat delete mode 100644 hotgo-server/push.bat diff --git a/hotgo-server/pull.bat b/hotgo-server/pull.bat deleted file mode 100644 index cfa6d5f..0000000 --- a/hotgo-server/pull.bat +++ /dev/null @@ -1,15 +0,0 @@ -::强制和远程同步,不保留本地修改 -::git fetch --all -::git reset --hard origin/master -::git pull - - -::保存本地修改,拉取远程后恢复本地修改 -::git stash -::git pull origin master -::git stash pop -::git stash list -::git stash clear - -::拉取远程 -git pull origin master \ No newline at end of file diff --git a/hotgo-server/push.bat b/hotgo-server/push.bat deleted file mode 100644 index bcbe5bc..0000000 --- a/hotgo-server/push.bat +++ /dev/null @@ -1,11 +0,0 @@ -echo -e "\n \n" >> ./README.md - -::git rm -r --cached -f . -git init && git add -A - -for /f "tokens=2 delims==" %%a in ('wmic path win32_operatingsystem get LocalDateTime /value') do (set t=%%a) -set Today=%t:~0,4%-%t:~4,2%-%t:~6,2% %t:~8,2%:%t:~10,2% - -git commit -m "%Today%" - -git push git@github.com:bufanyun/hotgo.git master \ No newline at end of file