DEV Community

Discussion on: git reset --explain

Collapse
 
jessekphillips profile image
Jesse Phillips • Edited

I found two dangerous commands.

  • git reset --hard
  • git clean

All other commands can be run and git will stop if unsaved changes would need to be changed until force is used.

Even clean is only dangerous if you configure it to be and if you're using it force might be a habit