git-extras icon indicating copy to clipboard operation
git-extras copied to clipboard

git-obliterate retains old commits?

Open s2tephen opened this issue 11 years ago • 4 comments

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!

s2tephen avatar Dec 08 '13 05:12 s2tephen

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.

eddietejeda avatar Jul 23 '15 22:07 eddietejeda

//cc @spacewander

hemanth avatar Jul 24 '15 08:07 hemanth

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 avatar Jul 27 '15 13:07 spacewander

@spacewander Congrats! :tada:

hemanth avatar Jul 27 '15 13:07 hemanth