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

`git-undo` has been part of git-extras[1] for a while. It doesn't use fancy git magic, so maybe this is better.

[1]: https://github.com/tj/git-extras




It only removes the last commit. It's terribly named IMO, actually, cause I think that's seldomly the kind of thing you get into "omg I messed up how do I undo" panic for.

The undo described here is much more powerful and much closer to what people expect from the word "undo" from its functionality in other tools.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: