|Re: [wtp-incubator-dev] How can I remove a wrong commit from the main branch?|
Some combination of Rebase is probably going to be what you want: http://www.kernel.org/pub/software/scm/git/docs/git-rebase.html Dave On 09/29/2010 07:22 AM, Gabriel Petrovay 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!
Back to the top