Git · Senior · Question 13 of 76
Why is git filter-branch discouraged today?
- 1It was removed from Git entirely in version 2.0
- ✓Correct answer: It's slow and error-prone;
filter-repois advised - 3It only works on repositories that have no tags
Explanation
Git's own documentation warns about it. filter-repo is far faster and has safer defaults, for example for removing large files or paths.