[mythtv] GIT reverts accidentally committed

Nigel Pearson nigel at ind.tansu.com.au
Tue Feb 21 22:40:19 UTC 2012


On 21/02/2012, at 10:53 PM, Jean-Yves Avenard wrote:

> On 21 February 2012 22:48, Nigel Pearson <nigel at ind.tansu.com.au> wrote:
>> 
>> I had a problem earlier today with some commits against
>> non-HEAD of master. I though I had reset and reverted locally,
>> but a commit & push tonight did some "damage."
>> 
>> Is it possible to destroy those 5 pushes to packaging/master?
> 
> did you use --force or not?


Probably yes (on a git reset), but who can remember -
that was a day ago in a very busy shell :-(



> If not, simply revert the changes and commit again..

I can revert HEAD^^, which would commit a revert of a revert,
and I think get the tree back to health, bit it would be so
much tidier if these five commits could be totally destroyed.

bb072b558b37eb34dc929f0b9f59d46877e4d6e2 Commit against non-HEAD
6cfde9f7bb12ef32c7f235f61de75791b8e81ce6 Revert of that

7e1be0f1fffedc9a4354c995003dad8259dba813 Accidental revert of something else
95dace6eda047470eeae2dfd1bb2d4c02ad30acf Merge of those to HEAD

30acaf3a9c850f8adbaefd14acc15b51b44fdf92 Commit against HEAD




so we could start clean, and I could just do one commit instead.


--
Nigel Pearson, nigel at ind.tansu.com.au|  4  8 |
Telstra Net. Eng., Sydney, Australia | 15 16 |
Office: 9202 3900    Fax:  9212 6348 | 23 42 |
Mobile: 0408 664435  Home: 9792 6998 |  Lost |






More information about the mythtv-dev mailing list