update
This commit is contained in:
parent
de204b5820
commit
e71fab475a
@ -1,32 +1,42 @@
|
||||
backup_repo
|
||||
how-to-use
|
||||
comprecpp
|
||||
useopencv4
|
||||
OneLevelXmlOpr
|
||||
SerialOpr
|
||||
notegit
|
||||
ImguiDemo
|
||||
how-to-use
|
||||
quickcpp
|
||||
auxiliarytool
|
||||
wxwidgetstudy
|
||||
resource
|
||||
nettrans
|
||||
tinyserial
|
||||
sxtwl_cpp
|
||||
xv6-riscv
|
||||
useopencv4
|
||||
mskip-list
|
||||
cqm
|
||||
ftptrans
|
||||
nvim
|
||||
xiaoyunserver
|
||||
yx
|
||||
packqt
|
||||
muduo
|
||||
open-cmd-here
|
||||
swconfig
|
||||
vsgene
|
||||
yqm
|
||||
dlldepend
|
||||
sxcalendar
|
||||
taynpg/tryreg
|
||||
taynpg/how-to-use
|
||||
taynpg/transm
|
||||
taynpg/ofen
|
||||
taynpg/resource
|
||||
taynpg/wxqm
|
||||
yun/yqm
|
||||
taynpg/mail-cpp
|
||||
taynpg/PackBinary
|
||||
semi/GenAlarm
|
||||
taynpg/cmt
|
||||
yun/LinuxPack
|
||||
taynpg/msync
|
||||
yun/cqm
|
||||
yun/yx
|
||||
yun/nvim
|
||||
yun/mail-send
|
||||
yun/useopencv4
|
||||
semi/OneLevelXmlOpr
|
||||
taynpg/swconfig
|
||||
taynpg/wezterm
|
||||
taynpg/SockGrab
|
||||
taynpg/work
|
||||
taynpg/script
|
||||
taynpg/rsync-task
|
||||
taynpg/nettrans
|
||||
taynpg/codecreate
|
||||
taynpg/backup_repo
|
||||
taynpg/open-cmd-here
|
||||
taynpg/packqt
|
||||
taynpg/comprecpp
|
||||
taynpg/wxwidgetstudy
|
||||
taynpg/auxiliarytool
|
||||
taynpg/vsgene
|
||||
taynpg/dlldepend
|
||||
taynpg/sxcalendar
|
||||
taynpg/cpp_util
|
||||
taynpg/muduo
|
||||
taynpg/mskip-list
|
||||
taynpg/ftptrans
|
||||
taynpg/sxtwl_cpp
|
||||
taynpg/SerialOpr
|
6
run.py
6
run.py
@ -1,6 +1,6 @@
|
||||
import os
|
||||
|
||||
url = "https://gitee.com/sinxmiao/"
|
||||
url = "https://www.sinxmiao.cn/"
|
||||
backup_name = "gitea_backup"
|
||||
|
||||
current_path = os.getcwd()
|
||||
@ -27,9 +27,9 @@ for repo in content:
|
||||
purpose_dir = os.path.join(backup_path, repo_name)
|
||||
if not os.path.exists(purpose_dir):
|
||||
os.makedirs(purpose_dir)
|
||||
cmd = "git clone " + url + repo_name + ".git"
|
||||
cmd = "git clone --recursive " + url + repo_name + ".git"
|
||||
cmd = cmd + " \"" + purpose_dir + "\""
|
||||
else:
|
||||
cmd = "cd /d \"" + purpose_dir + "\" && git pull"
|
||||
cmd = "cd /d \"" + purpose_dir + "\" && git pull && git submodule update"
|
||||
print(cmd)
|
||||
os.system(cmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user