1. 进入非空目录,假设是 /laoji.org
2.
git clone --no-checkout https://git.oschina.net/NextApp/platform.git tmp
3. #将 tmp 目录下的 .git 目录移到当前目录
mv tmp/.git .
4.
rmdir tmp
5.
git reset --hard HEAD
1. 进入非空目录,假设是 /laoji.org
2.
git clone --no-checkout https://git.oschina.net/NextApp/platform.git tmp
3. #将 tmp 目录下的 .git 目录移到当前目录
mv tmp/.git .
4.
rmdir tmp
5.
git reset --hard HEAD
链接到文章: https://uziwp.com/13713.html
Backup Bootstrap cache Chrome Cloud Dashboard Device Disk Docker file Gutenberg古登堡 IIS Javascript jQuery Linux Mariadb Media MySQL Network Nginx OneThink Pages PHP PHP8 Posts Qcloud腾讯云 Redis Rsync SEO Siteground system Tags Theme ThinkPHP Ubuntu VPS Vultr Windows WooCommerce WordPress WordPress Plugins WordPress插件 主题 搬瓦工BWH 编辑器
评论已关闭