this post was submitted on 20 Nov 2024
871 points (97.5% liked)

Programmer Humor

20188 readers
739 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
871
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 2 months ago (1 children)

It's not that. It means discard all changes made after the last change committed to this local repository.

[โ€“] [email protected] 10 points 2 months ago

In this case it seems like it also performed a git clean and deleted his untracked files too. Someone actually opened a an issue to try and prevent the behaviour in the future