tags:

views:

41

answers:

1

let me say that I have commits like:

A-B-C-D-E-F-G

commit B contains some passwords (and some code changes) in commit G there are removed passwordes (added in B), and now they are readen from external files

so now in G there is no password but if someone will look into history he may see sensitive data from commit B.

Can i do something with it using git rebase or some another tool?

+4  A: 

Yes. You can rewrite history in git. As long as you control every clone of the repository, that is.

But it will be far more effective to simply change passwords and get over it.

Tomek Szpakowicz