Resetting and reverting labQ3 can someone explain how to solve this question

The publisher informs that the author details need not be added within the story. Instead it would be displayed next to the story on the web page. As such it needs to be removed from within stories :woman_facepalming:

All the changes Sarah made needs to be undone :weary:. Help Sarah undo all the changes made in the previous commit. Note that the changes must be retained in the commit history. Use the default revert commit message.

Hi @durganaidukakarla ,
The requirement of this question is to undo all the changes done in the previous commit while leaving the trail in the commit history of doing so.
So it would be a great if we could proceed with the git revert [commit-hash].
Here commit-hash will point to the commit whose changes you want to revert which in our case is the previous commit.

Also ensure to use the default revert message.

Let me know if you have any other doubts.
Thanks