We have some data that was accidentally stored in one of our configuration files and stuck in there unnoticed for about a month. It's a private repo with very limited user access, so we would like to rewrite history and pull that data out before sharing the repo with others.
The configuration file has not been changed since the undesirable commit, so I attempted
git rebase -i $parent_commit^
and chose to edit the appropriate commit. After continuing, it goes through about 30+ commits before hitting a merge conflict on an entirely unrelated file. I would have thought rebasing should work fine in this case since the config file has not been changed.