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

Programmer Humor

32561 readers
390 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 55 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 17 points 1 year ago (1 children)

git reflog, you can get your old commits back

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

But I want to pretend none of this ever happened.

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