I am trying to revert a commit, and the instructions here don't work as the revert support was removed from the git-llvm script last week when the migration happened. The instructions on the website still reference it however: https://llvm.org/docs/GettingStarted.html#reverting-a-change-when-using-git I am going to do it manually, but a script would be helpful for automating the commit message etc. Am I missing where the support for this now lives? Thanks, Teresa -- Teresa Johnson | Software Engineer | tejohnson at google.com |
On 11/01/2019 09:39 AM, Teresa Johnson wrote:> I am trying to revert a commit, and the instructions here don't work > as the revert support was removed from the git-llvm script last week > when the migration happened. The instructions on the website still > reference it however: > https://llvm.org/docs/GettingStarted.html#reverting-a-change-when-using-git > > I am going to do it manually, but a script would be helpful for > automating the commit message etc. Am I missing where the support for > this now lives? >By manually, do you mean `git revert` ? I think this is probably the best solution. -Tom> Thanks, > Teresa >
Yep, I just discovered that simply doing a "git revert ${hash}" does
exactly what I want. =) Probably just need to update the website
instructions.
Thanks,
Teresa
On Fri, Nov 1, 2019 at 9:41 AM Tom Stellard <tstellar at redhat.com>
wrote:
> On 11/01/2019 09:39 AM, Teresa Johnson wrote:
> > I am trying to revert a commit, and the instructions here don't
work
> > as the revert support was removed from the git-llvm script last week
> > when the migration happened. The instructions on the website still
> > reference it however:
> >
> https://llvm.org/docs/GettingStarted.html#reverting-a-change-when-using-git
> >
> > I am going to do it manually, but a script would be helpful for
> > automating the commit message etc. Am I missing where the support for
> > this now lives?
> >
>
> By manually, do you mean `git revert` ? I think this is probably the best
> solution.
>
> -Tom
>
> > Thanks,
> > Teresa
> >
>
>
--
Teresa Johnson | Software Engineer | tejohnson at google.com |
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20191101/21156e91/attachment.html>