2 ms·
Doesn't the large number of people saying "use the reflog" indicate that amongst git users, they know that it exists?
by steveklabnik 13y ago
Doesn't the large number of people saying "use the reflog" indicate that amongst git users, they know that it exists?
- jammycakes 13y agoProbably. It's one of those things you learn as a Git user sooner or later -- though in most cases, not before a few heart-stopping moments and probably a bit of an injection of FUD into your team. Rather more worrying is the possibility of deleting history remotely with an injudicious git push --force. Some such remotes (coughGitHubcough) don't give you any access to the reflog on their end to sort things out. Git really needs to set receive.denyNonFastForwards and receive.denyDeletes to true by default.