Reset a project in Visual Studio Code

  • Release version: Zurich
  • Updated July 31, 2025
  • 1 minute to read
  • Reset the project to the state on the server by discarding all the local changes if you encounter any serious sync issues.

    Before you begin

    Role required: none.

    About this task

    When you reset a project to its server state, all unsynchronized changes are lost.

    Procedure

    1. Navigate to All > View > Command Palette in.
      You can also use a keyboard shortcut, Control+Shift+P on Windows or Command+Shift+P on MacOS, to open the command palette.
    2. Choose Now: Reset Project from the drop-down list.
    3. Click Yes in the dialog box.

    Result

    The project is reset to its original state.
    Note:
    This option should be used only when something goes wrong, for example, if the project is corrupted or you are facing sync issues.