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

In my experience, Mercurial is a little bit more friendly in this regard. You usually have to add a force argument for it to do anything that can cause irreversible damage.

Which can be frustrating as well, at least with git the commands work the first time :)

A better approach (as long as no external pushing/pulling is done) IMO would be to execute the command immediately, but allow undo functionality.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: