3 ms·
I understand how it works, but I still think it's dumb.
by ajkjk 6y ago
I understand how it works, but I still think it's dumb.
- wereHamster 6y agoIs it perhaps because most people are taught about `reset --hard` early on? If all they knew was `checkout` there wouldn't be any confusion. Nobody really needs to know about `reset --hard`, the same effect can be achieved with a normal reset and a checkout, it's a two step process anyway, regardless of how you do it. Using reset+checkout is not the quickest but gets the job done. Power users can create themselves a shell alias, or write themselves a small shell script, or learn about one of the thousands commandline switches that does just what they need.