Git reset is fast. ISO 27001 is strict. Together, they form a tension every engineering team faces when source control meets compliance rules. A bad reset can erase history. A reckless rewrite can kill your audit trail. Both break trust.
ISO 27001 requires integrity, traceability, and reproducibility of code changes. Git reset can break those if you don’t follow a controlled process. This is where secure workflows matter.
There are three types of git reset:
- Soft reset keeps changes staged.
- Mixed reset unstages changes, but keeps them in the working tree.
- Hard reset moves HEAD and wipes local changes.
Without controls, hard resets are dangerous. ISO 27001 demands that you log all changes, even reversions. Resetting without a documented reason violates policy and can put certification at risk.