Skip to content

Safety Net Plugin

The scc-safety-net plugin is the most important plugin for organizations.

CommandWhy
git push --forceOverwrites remote history
git reset --hardDiscards uncommitted changes
git branch -DForce-deletes branches
git clean -fdDeletes untracked files
{
"defaults": {
"enabled_plugins": [
"scc-safety-net@sandboxed-code-official"
]
}
}

Policy modes:

  • block - Commands blocked (default)
  • warn - Commands allowed with warning
  • allow - Protection disabled

See Safety Net Guide for details.