1

可能重复:
git - 从存储库中删除文件

我错误地将一个大文件(900MB)推送到 git repo 中。现在我想从那个特定的提交中删除那个文件。否则拉动会花费太多时间。请帮帮我...

4

1 回答 1

1

There is a very good blog which explains how to identify very large files checked into the git repository and rewrite the history to delete them.

http://naleid.com/blog/2012/01/17/finding-and-purging-big-files-from-git-history/

its worked!

于 2012-12-04T12:47:32.750 回答