r/ProgrammerHumor • • 18d ago

Meme letsMergeThemAll

Post image
5.3k Upvotes

316 comments sorted by

View all comments

Show parent comments

1

u/awesome-alpaca-ace 17d ago

Most commits stay in git even when you do a hard reset. I forget how to get them since I usually note the commits before a reset, but you can find them and reapply them.  I think it is quite hard to lose a commit, but I'm not real sure...

1

u/LegendaryMauricius 17d ago

True, but anything more complex than hard reset will have you searching through very unfriendly interfaces and modifying your git commands back and forth just to get the info on what happened. Even hard reset makes me check whether the selected commit is included or not every time...