摘要: 清除Git仓库多余文件及其历史记录 转自:https://www.cnblogs.com/msxh/p/11082246.html 1.切换到新的分支 git checkout --orphan latest_branch 2.缓存所有文件(除了.gitignore中声明排除的) git add - 阅读全文
posted @ 2020-07-02 11:12 呆瓜小贼66 阅读(1229) 评论(0) 推荐(0) 编辑