News for hackers. Stuff that matters.
Re:Oh Shit, Git? by johnisgood on Friday January 17, 2025 @02:21AM (#42734933)
What do you mean avoid "reset --hard"? Why or why is it not enough in practice? I use it quite often, along with "alias git-restore-file='git restore --source=HEAD --'". It seems to work.

There are no comments on this comment yet.