Re:Git undo: We can do better
by nsomaru on Monday June 21, 2021 @12:27PM
(#27580748)
Am I doing things wrong if I have never used these commands?
[ Parent
| on HN ]
Re:Git undo: We can do better
by jdauriemma on Monday June 21, 2021 @12:42PM
(#27580891)
Try not to think of it in terms of right and wrong. `git clean` is useful, though not "can't-live-without-it" useful. I couldn't imagine my workflow without `git reset`, though, and I recommend checking it out!
Probably not using git ideally. Do you clean your history after working on a feature?