Skip to main content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

University Library, University of Illinois at Urbana-Champaign

Introduction to GitHub: Recovering Deleted Files

This guide introduces users to the GitHub Desktop application and provides an overview of basic GitHub functions and workflows. The guide is based on the Savvy Researcher workshop of the same name.

Recovering Deleted Files

To see how the process of recovering deleted files works, begin by deleting the text file that you created earlier in the tutorial. Note how the GitHub desktop application detects that the file has been deleted:

To recover your deleted file, right click on the file in GitHub and select discard changes.

The file will now be back in the folder where you originally saved it.