News for hackers. Stuff that matters.
Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative by lawgimenez on Monday January 22, 2024 @08:18AM (#39089193)
> 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?

Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative by ryukoposting on Monday January 22, 2024 @08:20AM (#39089215)
It could be done with force-pushes, if nobody has a commit number for the old tree.
Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative by kaufmae on Monday January 22, 2024 @11:55AM (#39091762)
Not 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