Forum Discussion

Stoplight's avatar
Stoplight
Community Manager
8 months ago

Revert to previous git commit

Originally posted by user Alucryd to the Stoplight Community on 02/29/2024 at 08:50 ET.

Hi all, we unfortunately made a mistake and wiped out a whole api definition, is there any way to revert our files to a previous commit on the basic plan? Couldn't find any way to view or edit the git history.

  • Humashankar's avatar
    Humashankar
    Champion Level 2

     

    Hi @Alucryd

    If you can't find a way to view or edit the Git history directly within Spotlight, 

    Looks like the platform doesn't provide built-in Git management features. 

    One other option we could try is all about - use an external Git client or the website where your code repository is hosted to access and manipulate the Git history

     

    Hope this helps - Happy to help further!!
    Thank you very much and have a great one!

    Warm regards