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.


Thanks!

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?
> http://git.eclipse.org/c/webtools/org.eclipse.webtools.incubator.git/commit/?id=6551cc87a48a7c748c162acab2c570ed0b51641b
>
>
> @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
> www.28msec.com
>



-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com


Back to the top