3 ms·
> Or even just frequent backups. A coworker of mine used to copy the entire on-disk repository including the .git directory before doing anything slightly unusu
by rualca 6y ago
> Or even just frequent backups. A coworker of mine used to copy the entire on-disk repository including the .git directory before doing anything slightly unusual in git.
To recover from commit screwups, it should be enough to just export the git repository somewhere else like a remote repo, or even just apply changes in a separate branch.
It just seems that a developer is doing something extremely wrong with their repository if they can't recover from their experiments by checking out a branch or commit.