Reputation: 41
Upvotes: 1
Views: 358
Reputation: 1329162
First, you can use the new git filter-repo
, which will replace the old git filter-branch
or BFG.
Stripping large/big files is easy
git filter-repo --strip-blobs-bigger-than 10M
Second, git filter-branch
/git filter-repo
is a local operation: you still need to force push (git push --force --mirror) to GitLab, in order for your mirror operation to reflect the new repository state (one without large files)
Upvotes: 1