this post was submitted on 09 Nov 2023
1239 points (98.2% liked)

Programmer Humor

32000 readers
678 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
[–] ArbitraryValue 54 points 10 months ago (1 children)
  1. git pull
  2. git reset --hard HEAD
  3. try not to cry
  4. cry a lot
[–] [email protected] 17 points 10 months ago (1 children)

git reflog, you can get your old commits back

[–] ArbitraryValue 15 points 10 months ago (1 children)

But I want to pretend none of this ever happened.

[–] winterayars 6 points 10 months 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.