Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [incubation] Delete top commit from git master branch

Hi,
 
I know that it is bad. And I just want to do it becaus of this dumb mistake.
 
The reason I post it is that especially the Eclipse git server is recjtecting my fastforward commit and I wanted to aks how other committers would handle this use case in the Eclipse world.
 
And as I got three times the revert I go with the revert.
 
Thanks to all,
Alois
 
Gesendet: Dienstag, 20. September 2016 um 16:55 Uhr
Von: "Daniel Megert" <daniel_megert@xxxxxxxxxx>
An: "Discussions for new Eclipse projects" <incubation@xxxxxxxxxxx>
Betreff: Re: [incubation] Delete top commit from git master branch
Hi Alois

This is the wrong list.

Deleting a commit is very bad and should not be done. Instead, just revert it.

Dani



From:        "Alois Z." <alois.zoitl@xxxxxx>
To:        incubation@xxxxxxxxxxx
Date:        20.09.2016 16:51
Subject:        [incubation] Delete top commit from git master branch
Sent by:        incubation-bounces@xxxxxxxxxxx



Hi,
 
not sure if this is a question for incubation but as I'm rather new to git and git on Eclipse I thought it could be a good place.
 
As described in the subject my problem is that I was a little to quick in gerrit and added a commit to the master branch which should have gone to another branch. In the meantime I was able to cherry pick the commit to the intended branch but I'm not able to delete it from my master branch on the remote git repo @ eclipse.org. I know that this is in general bad but it would really help me if I could delete the last commit on my master branch.
 
Thanks in advance for any tips.
 
BR,
Alois_______________________________________________
incubation mailing list
incubation@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/incubation


_______________________________________________ incubation mailing list incubation@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/incubation

Back to the top