How do I permanently remove (obliterate) files from history?

Posted by phmr on Stack Overflow See other posts from Stack Overflow or by phmr
Published on 2010-04-23T22:40:15Z Indexed on 2010/04/24 15:13 UTC
Read the original article Hit count: 231

Filed under:
|

I commited a lot of files locally (including binary files removing & adding...) and now when I try to push it takes a lot of time. Actually I messed up my local repo history.

How could I avoid this mistake in the future ? Can I transform a set of local revision 1->2->3->4 to 1->2 with 2 being the final revision of the local clone ?

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about rcs