摘要: 切换到新的分支 git checkout --orphan latest_branch 缓存所有文件(除了.gitignore中声明排除的) git add -A 提交跟踪过的文件 git commit -am "first commit" 删除 main 分支 git branch -D main 阅读全文
posted @ 2022-01-25 11:31 青叶煮酒 阅读(61) 评论(0) 推荐(0) 编辑