📅  最后修改于: 2022-03-11 14:49:53.851000             🧑  作者: Mango
# Be careful it will delete all untracked files, reset all stagated files
# and will remove all submodule folders
git reset --hard
git checkout gh-pages
git clean -xffd
# Optional restoration of submodules content
git submodule update --init --recursive