Hacker News new | past | comments | ask | show | jobs | submit login

Git reflog absolutely counts as the first step of undo for several workflows, but you’re right there are other commands needed for some kinds of undo.

Undoing a push does require a different set of commands, but my point, to the question @amelius asked, is that you can undo both push and add, and whatever other mistake you’re thinking of, difficult or not.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: