Restoring a Deleted File

In this episode, we will explore how to restore a deleted file.

Restoring a Deleted File

With Git as your version control system, you cannot only undo modifications in a file - you can also restore files that you’ve deleted.

In our example scenario, you can see that we’ve deleted "about.html" - and let’s say that we want to have it back.

In Tower’s working copy view, you can simply right-click a deleted file - then select the “discard local changes” option and confirm that.

And that’s it: we just restored a deleted file - and it’s again part of our project’s files.