Read more

Restore changes, even from deleted files, with RubyMines "Local History"-Feature

Deleted user #8131
July 22, 2019Software engineer

Sometimes, due to git or other "accidents", important files get deleted or overwritten.

Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

At a state when even Ctrl+Z doesn't work anymore, you maybe can rescue your files with RubyMines "Local History"-Feature!

To do this try the following:

  • If the file got deleted, recreate a new empty file with the same name on the exact same place
  • Open that file in the editor
  • Go to RubyMine and click on VCS -> Local History -> Show History
  • In the now open window, you should see all greater changes made to the File, even before it got deleted/tempered with

Now you can restore your file at any desired state.

Posted to makandra dev (2019-07-22 08:42)