在 GIT 中创建一个空分支 作者:若海 时间:2019年06月13日 分类:运维自嗨 字数:290 阅读:75837 一、创建一个空白分支git checkout --orphan <new_branch> git rm -rf .二、首次提交并推送到远程服务echo > .gitignore git add .gitignore git commit -m "first commit" git push origin <new_branch>