this post was submitted on 25 Mar 2025
6 points (100.0% liked)
PhpStorm
80 readers
1 users here now
A community for the PhpStorm IDE for PHP developers! https://www.jetbrains.com/phpstorm/
Copyright © 2024 JetBrains s.r.o. PHPStorm and the PHPStorm logo are registered trademarks of JetBrains s.r.o.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Two things:
Learning git reflog will save you from needing to worry about the sudden dread that comes from using reset hard in git.
Using an proper git client will save you needing to use reset hard in the first place. I highly recommend the confusingly named: Fork. It's free the same way that sublime text and winzip are: about once a month it asks for you to buy it but you can click on the "I'm still just trying it out" to keep using it for free.