this post was submitted on 09 Nov 2023
36 points (97.4% liked)

Programmer Humor

38016 readers
79 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ArbitraryValue@sh.itjust.works 2 points 2 years ago (1 children)
  1. git pull
  2. git reset --hard HEAD
  3. try not to cry
  4. cry a lot
[–] CalcProgrammer1@lemmy.ml 2 points 2 years ago (1 children)

git reflog, you can get your old commits back

[–] ArbitraryValue@sh.itjust.works 1 points 2 years ago (1 children)

But I want to pretend none of this ever happened.

[–] winterayars@sh.itjust.works 1 points 2 years 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.