git-extras
git-extras copied to clipboard
git-obliterate retains old commits?
I tried to use git-obliterate to remove sensitive information from a commit I pushed to github. The command successfully rewrote all the commits to exclude that file, but didn't seem to delete the old commits — i.e. all my commits are now duplicated, one version that contains the file and one version that doesn't. What's the easiest way to remedy this? Going through and rebasing every other commit doesn't exactly seem like an effective strategy... any guidance would be helpful. Thanks!
I had the same issue. What a mess.
Luckily, I have a backup that I am going to revert back to - still going to take hours to sync up the team. But the documentation should be clearer about how obliterate works.
//cc @spacewander
Oh right, recently I was too busy since I got a new job. But I will pay attention to find an acceptable method in this weekend.
@spacewander Congrats! :tada: