The dangerous parts of git exist to make it trivial to undo mistakes. You don’t have to use those for your regular workflows.
With any other system, your only option is usually checking out a fresh copy from a server or backup.
The dangerous parts of git exist to make it trivial to undo mistakes. You don’t have to use those for your regular workflows.
With any other system, your only option is usually checking out a fresh copy from a server or backup.
Can any of the downvoters comment on this? My experience with Git is pretty much the same, but maybe Hg also allows you to unfuck a screwed up repo, just as Git does?
The bad states Git "allows you to unfuck" are largely caused by Git's awful UX (confusing and multipurpose commands based on inner workings), so Git gets no credit for "solving" a problem it caused.