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

Can't you just revert the commit? (In the history view, right click -> revert)

It will stay in the history, but it is the easiest way to just undo it.

Jürgen


Am 20.09.2016 um 16:51 schrieb Alois Z.:
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

-- 
IBH SYSTEMS GmbH
D 85235 Pfaffenhofen an der Glonn
Läutenring 43
Geschäftsführer / CEO: Dr. Thomas Heitzig

Amtsgericht München
Handelsregister Nummer  HRB 197959
USt ID: DE267945175

Office Munich
D 80992 München
Agnes-Pockels-Bogen 1
T +49 89 18 9 17 49 0

The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or pivileged
material. Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.

Back to the top