2 ms·
> It can do that, if you explicitly run it with the options to checkout a specific path. Fair point. I've update my comment to clarify. > But why would you d
by lisper 4y ago
> It can do that, if you explicitly run it with the options to checkout a specific path.
Fair point. I've update my comment to clarify.
> But why would you do that if it's not what you want?
Because sometimes it is what you want. The point is, if you happen to do it when it's not what you want, you're hosed. So it is simply not true that "It is very hard to permanently lose work." It is, in fact, quite easy under certain not-uncommon circumstances.
- atq2119 4y agoFair point. There probably should be standard advice along the lines of "if in doubt, make a 'wip' commit before you do anything". That's good advice even beyond using git itself.