JetBrains Rider 2018.1 Help

Deleting Files from the Repository

If you delete a file that is under version control, it still exists in the repository until you've committed the changes. The deleted file is placed to the active changelist, and is highlighted with grey.

To delete a file

  1. Select a file in the Project tool window, and press Delete, or choose Delete from the context menu.
  2. In the dialog that opens, you can choose whether you want to delete this file without searching for usages, or to perform safe delete to make sure that you are deleting an unused file by checking the Safe delete option.

    If any usages have been found, the Usages Detected dialog will popup listing them. You can view these usages and remove references to this file before deleting it.

  3. Commit the changes to the repository.
Last modified: 8 March 2018