Reset a project in Visual Studio Code

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:1分
  • Reset the project to the state on the server by discarding all the local changes if you encounter any serious sync issues.

    始める前に

    Role required: none.

    このタスクについて

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

    手順

    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.

    タスクの結果

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