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

Programmer Humor

32472 readers
769 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@sh.itjust.works 54 points 1 year ago (1 children)
  1. git pull
  2. git reset --hard HEAD
  3. try not to cry
  4. cry a lot
[–] CalcProgrammer1@lemmy.ml 16 points 1 year ago (1 children)

git reflog, you can get your old commits back

[–] ArbitraryValue@sh.itjust.works 14 points 1 year ago (1 children)

But I want to pretend none of this ever happened.

[–] winterayars@sh.itjust.works 5 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.