What is git filter-branch and what are its common use cases and risks?

Git Hard

Git — Hard

What is git filter-branch and what are its common use cases and risks?

Key points

  • Filter-branch alters entire commit history
  • Rewriting commit history affects collaborators
  • Sensitive file removal is a key use case
  • Divergent histories are a significant risk

Ready to go further?

Related questions