News for hackers. Stuff that matters.
Re:Git undo: We can do better by cellularmitosis on Tuesday June 22, 2021 @02:00AM (#27588467)
> Regardless, what's so bad about deleting the repo and pulling from remote if you can't figure out why you hosed it? It's not like it costs you anything to do `rm ... && git clone ...`. And it's not like this happens daily either.

Well, actually, a lot of people work in large repos, so this can be a pain.

Which of course brings up another failing of the git UI: the difficulty of removing old history from the repo. Last I checked, you pretty much have to use a 3rd party tool for this.

There are no comments on this comment yet.