• 0 Posts
  • 18 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
    2 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”.