this post was submitted on 28 Jul 2023
197 points (96.2% liked)

Programmer Humor

19821 readers
866 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] static_motion@programming.dev 14 points 1 year ago (1 children)

git restore is a pretty new command AFAIK. Those of us who learned git before its existence have probably stuck to the old ways of git reset --hard.

Yep, I just learned of this command..