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

The README for the parent repo (https://github.com/arxanas/git-branchless) answers these questions in detail.

Short answer, recreating this tool's features in vanilla git requires using the reflog, which isn't user-friendly:

> Why not git reflog?

> git reflog is a tool to view the previous position of a single reference (like HEAD), which can be used to undo operations. But since it only tracks the position of a single reference, complicated operations like rebases can be tedious to reverse-engineer. git undo operates at a higher level of abstraction: the entire state of your repository.




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

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

Search: