git checkout --orphan 笔记要叫的名字 //创建无根分支 git add -A . //添加修改的和新添加的文件 git commit -m " " git push origin 刚才创建的分支名