Clear history in a git repository
git filter-branch --tree-filter 'rm -rf path/' --prune-empty -f HEAD