News for hackers. Stuff that matters.
Re:Idiot Proof Git by arcanemachiner on Thursday November 10, 2022 @12:28AM (#33542613)
git undo -f
Re:Idiot Proof Git by notpushkin on Thursday November 10, 2022 @02:20AM (#33543271)
Since we're talking about beginners (dare I say, newbies), I think adding this flag would just make them use it all the time. Perhaps just for this command we should only allow --force-remote, so that they have to (1) type it out explicitly and (2) think about what exactly they're doing.
Re:Idiot Proof Git by ykonstant on Thursday November 10, 2022 @11:36AM (#33549058)
Should also support the gnu long-option, git undo --fuck-up