git中误提交了不想提交的文件,想要从版本库中删除的方法
git中误提交了不想提交的文件,想要从版本库中删除的方法例如:从版本库中删除 lunch_historygit filter-branch –tree-filter “rm -f lunch_history” HEAD
会输出如下信息:
Rewrite 48a23742f0b5c35127daa40a1303c2af7976baac (29/29)
Ref ‘refs/heads/new_bi
原创
2017-11-13 12:00:29 ·
4369 阅读 ·
2 评论