[dmd-internals] How do I revert on github

Walter Bright walter at digitalmars.com
Sat Feb 18 11:49:24 PST 2012


Eh, I had to make a script that reverted each of the commits that made up the 
merge in reverse order. Apparently there is no command to revert a commit of 
commits.

On 2/18/2012 11:33 AM, Alex wrote:
> Oh, hrm, can you try: git revert -m 1 03e8dddc8a53e42d73b04dd23287f206fcc35dd0
>
> Regards,
> Alex
>
> On Sat, Feb 18, 2012 at 8:26 PM, Walter Bright<walter at digitalmars.com>  wrote:
>> This is the message it gave me:
>>
>> fatal: Commit 03e8dddc8a53e42d73b04dd23287f206fcc35dd0 is a merge but no -m
>> option was given.
>>
>>
>> On 2/18/2012 11:20 AM, Alex wrote:
>>> git revert 03e8dddc8a53e42d73b04dd23287f206fcc35dd0 should do the
>>> trick (the hash being the merge commit).
>>>
>>> Regards,
>>> Alex
>>>
>>> On Sat, Feb 18, 2012 at 8:16 PM, Walter Bright<walter at digitalmars.com>
>>>   wrote:
>>>> This needs to be reverted:
>>>>
>>>> https://github.com/D-Programming-Language/dmd/pull/727
>>>>
>>>> Is there a simple command to do it?
>> _______________________________________________
>> dmd-internals mailing list
>> dmd-internals at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-internals
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>
>


More information about the dmd-internals mailing list