1277
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 55 points 2 years ago
  1. git pull
  2. git reset --hard HEAD
  3. try not to cry
  4. cry a lot
[-] [email protected] 17 points 2 years ago

git reflog, you can get your old commits back

[-] [email protected] 15 points 2 years ago

But I want to pretend none of this ever happened.

[-] [email protected] 6 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.

load more comments (1 replies)
this post was submitted on 09 Nov 2023
1277 points (98.3% liked)

Programmer Humor

37378 readers
82 users here now

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

Rules:

founded 6 years ago
MODERATORS