• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    This user was not using git though, he was using vs code. That button doesn’t say “git reset” it says “discard all changes”. And btw, what it does is “git clean”, which is something that git can do.

    Just below the button there is a list of all the changes. In his case, there were 3000 changes of the type “file creation”. Discarding a file creation can only be made one way: deleting the file.

    Anyway, this user is presumably in his learning phase, I would not assume that he knows what git reset or git restore actually do.