Tuesday, 20 August 2013

Git Woes: How to go back in history and remove a large binary file committed and pushed by accident?

Git Woes: How to go back in history and remove a large binary file
committed and pushed by accident?

Here's the down lo: I was happily working, and did a git pull --rebase
without realizing it ended up downloading a huge binary file which were
not supposed to be pulled. Anyhow, I did a commit and pushed my work along
with this huge binary file. I need to go back in time, and remove it and
replay all of my work on top of all the pushes from other developers,
there are other pushes to the repo. I was working on a separate branch.
This is a serious problem, I keep screwing up with git! Would like some
good starting guide to git.

No comments:

Post a Comment