this post was submitted on 09 Nov 2023
1274 points (98.3% liked)

Programmer Humor

32464 readers
405 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 55 points 1 year ago (1 children)
  1. git pull
  2. git reset --hard HEAD
  3. try not to cry
  4. cry a lot
[–] [email protected] 17 points 1 year ago (1 children)

git reflog, you can get your old commits back

[–] [email protected] 15 points 1 year ago (1 children)

But I want to pretend none of this ever happened.

[–] [email protected] 6 points 1 year ago
git can we just pretend the last 30 minutes never happened

I feel like that would get more use than people want to admit.