Version Control

After making the website, we were tasked to document how to retract/extract lost data using git.

Process

deleted text

When you accidentally delete a paragraph of text or want to “undo” whatever mistake you did but have already pushed it to the repository, you can follow these steps:

recovery step 1
  1. Go to Github Desktop
  2. Click on “History”
  3. Right click on the commit that you want to revert and select “Revert Changes in commit”
  4. Push it out!
recovery step 2

Here is the recovered text as of shown in the picture below: recovered text