this post was submitted on 20 Nov 2024
893 points (100.0% liked)

Programmer Humor

22274 readers
1958 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
893
submitted 4 months ago* (last edited 4 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 4 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 4 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