[llvm-dev] Git question about revert

Thomas Lively via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 20 11:15:35 PST 2021


Yes, that is a reasonable workflow. Once the changes are made to fix the
problems with the original commit, I often see folks land the revert of the
revert with a title like `Reland "<original title>"` rather than `Revert
"Revert "<original title>""`.

On Wed, Jan 20, 2021 at 10:39 AM Paul C. Anagnostopoulos via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> This morning I pushed a commit that killed the build, so I reverted it and
> pushed the new commit to fix the build. Then I did another revert to get my
> changes back so I can work on them some more.
>
> Is it legitimate to use that second revert commit, which was never pushed,
> to do the additional work, changing the title to something reasonable? If
> not, could you explain what I ought to do?
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210120/71bc27f5/attachment.html>


More information about the llvm-dev mailing list