this post was submitted on 20 Nov 2024
770 points (97.4% liked)

Programmer Humor

19623 readers
2396 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 1 year ago
MODERATORS
770
submitted 22 hours ago* (last edited 21 hours 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 20 hours ago (1 children)

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

[โ€“] [email protected] 9 points 19 hours 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