Let me say what I accomplished as:
A-B-C-DEFG
commit B contains some passwords (and some code changes) in commit G the passwords are removed (added to B) and now they are read from external files
so now there is no password in G, but if someone looks into the history, he can see the sensitive data from the B commit.
Can I do something with git rebase or some other tool?
dfens source
share