git remote prune origin
git checkout --orphan=main # 删除所有文件 git rm -rf . # 添加所有文件 git add . # 提交 git commit -m "init"