So, I found that I have a hardcoded confidential data in one .json file and I am trying to find a solution how to change data in all previous commits, so I want to put that confidential data to .env file. Can I do it in some way?
Asked
Active
Viewed 59 times
1 Answers
3
You need to do git filter-branch --tree-filter. You can refer to this https://help.github.com/articles/removing-sensitive-data-from-a-repository/

Ira Shyti
- 224
- 1
- 3