rmdir /s/q material.tmp.git git clone --bare https://github.com/LiMingYuGuang/typecho-theme-material.git material.tmp.git rmdir /s/q material.git ren material.tmp.git material.git cd material.git cd hooks ren post-update.sample post-update echo ./post-update >> update.sh .\update.sh cd ..\..\