11 ms·
> In our previous startup, a data scientist accidentally destroyed a month’s work of his team by using the wrong Git command. Can someone explain how is this p
by lawgimenez 3y ago
> In our previous startup, a data scientist accidentally destroyed a month’s work of his team by using the wrong Git command.
Can someone explain how is this possible? More importantly was there any git branching strategy and permissions?
- ryukoposting 3y agoIt could be done with force-pushes, if nobody has a commit number for the old tree.
- kaufmae 3y agoNot sure, even then, doesn‘t reflog keep it quite a while locally on the machine that the force push was sent? Maybe he did not commit his changes for a month and sent a git reset —-hard