• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: July 26th, 2023

help-circle



  • Pyro@programming.devtoProgrammer Humor@programming.devMicrosoft Please Fix
    link
    fedilink
    arrow-up
    10
    arrow-down
    7
    ·
    edit-2
    18 days ago

    “Changes” encompass more than you think. Creating / Deleting files are also changes, not just edits to a file.

    • If the change is an edit to a tracked file, “Discard Changes” will reverse the edit.
    • If the change is deleting a tracked file, “Discard Changes” will restore it back.
    • If the change is a new untracked file, “Discard Changes” will remove it as intended.

    It can also be all of them at the same time, which is why VSCode uses “Changes” instead of “Files”.