Command Name

SPGo: Discard Check Out


Discard the current file check-out and revert the server file to the previous version and release any locks you have on the file. Any local file changes will be preserved. You can then use the Compare File command to view any differences between your local file and the server.

Available from

  • Hotkey: <alt>+<shift>+<c>
  • File Explorer Context Menu
  • Visual Studio Code Command Window