添加git自动更新命令

This commit is contained in:
iyuu.cn 2020-02-26 17:33:35 +08:00
parent 550e53d5e0
commit 80ca5e9690
2 changed files with 6 additions and 1 deletions

View File

@ -134,7 +134,7 @@ return array(
'cookie' => '',
// 如果需要自动辅种,必须配置
'passkey' => '',
'id' => 0, // 用户ID
'id' => 0, // 用户ID(不是用户名)
'workingMode' => 0,
'watch' => '/root/downloads',
'filter' => array(

5
git自动更新.cmd Normal file
View File

@ -0,0 +1,5 @@
@echo off
chcp 65001
git fetch --all
git reset --hard origin/master
git pull