Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-incubator-dev] How can I remove a wrong commit from the main branch?

Playing around with git I did it with:
git revert 6551cc87a48a7c748c162acab2c570ed0b51641b

and pushed the reverted commit.

But your advice is still helpful if this is the best procedure or not.


On Wed, Sep 29, 2010 at 4:22 PM, Gabriel Petrovay
<gabipetrovay@xxxxxxxxx> wrote:
> Hi,
> I made a wrong commit and pushed it to the eclipse master branch (xquery-dev).
> On my local machine I solved the problem by "amending" the commit with
> my next commit. But now I cannot push because "fast-fwd are not
> allowed".
> Does anybody know how I can revert/amend commit
> 6551cc87a48a7c748c162acab2c570ed0b51641b from the xquery-dev on the
> master branch?
> @XQDT devs: if you don't push commit until this is solved would
> probably make the life easier.
> Thanks!
> --
> MSc Gabriel Petrovay
> Mobile: +41(0)787978034

MSc Gabriel Petrovay
Mobile: +41(0)787978034

Back to the top