DEV Community

Discussion on: Basic git commands every developer should know

Collapse
 
asadmoosvi profile image
Asad Moosvi • Edited

Great article. I would just like to add that git reset --hard is quite dangerous when used to go back to an earlier commit than HEAD so it's imperative to double check everything before slamming down that Enter button. 🖒

Collapse
 
thekrprince profile image
Kumar Prince

Sure. Thanks for the heads up.