this post was submitted on 13 Dec 2023
478 points (94.1% liked)

Programmer Humor

18396 readers
786 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 7 months ago* (last edited 7 months ago) (1 children)

Must be an interesting work if you never add, commit or push.

Edit: How the hell did you get the repo without clone?

[–] [email protected] 11 points 7 months ago (1 children)

Pshaw, real programmers write out the contents of .git by hand.

(Also, it was a joke, the last two commands I listed are ones you'll ideally never need in your life)

[–] overcast5348 3 points 6 months ago

I was scared of reflog too. Had to use it for the first time recently after I accidentally'd a branch that I hadn't pushed to remote yet. I was so glad that I could recover it all in <5 commands.