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.
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.