Company: Netflix | Difficulty: Medium
A file named secrets.env containing sensitive credentials exists in the repository's commit history. You need to purge this file from the entire history.
Navigate to /home/interview/repo and rewrite the commit history to permanently remove secrets.env from all commits.
# Before (Sensitive data in history)
$ git log --all --oneline -- secrets.env
a1b2c3d Add secrets file
# After (Clean history)
$ git log --all --oneline -- secrets.env
(no output)