Use 'git filter-branch':
git filter-branch \
--index-filter 'git rm --ignore-unmatch --cached the/huge/file' \
--prune-empty \
-- --all
The --prune-empty removes the commit that removed the file from the
history if the removal of the/huge/file was the only thing it did.
If you have tags that must be rewritten, add "--tag-name-filter cat" to
the command before "--".
Try this in a backup copy or clone first!
-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html