4 ms·
>>> if I want to do something more complex If you want to do something more complex, the reasonable answer is usually to delete the directory and clone again.
by user5994461 6y ago
>>> if I want to do something more complex
If you want to do something more complex, the reasonable answer is usually to delete the directory and clone again.
- jraph 6y agohttps://xkcd.com/1597/ https://xkcd.com/1597/
- ubu7737 6y agoThis is because every cloned repo stores local state. Local state is sticky, it collects garbage, and it becomes stale very quickly. Doing something complex in git with a local repository is usually not the thing you want. What you want is to fix some garbage state you added to a local. Hence, turning it off and turning it back on, instead of pushing garbage state into the central flow.
- adrianN 6y agoI don't think I ever did that.