Guard protected branches from unsafe operations
git-safetyskillsetup L1★8,509
redis/RedisInsight ↗What it does
Enforce protected branch rules and prevent destructive git operations
Best for
When preventing accidental commits, pushes, or force-pushes to protected branches.
Inputs
- · git command
- · branch name
Outputs
- · safety check result
- · branch protection status
Requires
- · Git
- · branch protection rules
Preconditions
Repository has protected branch rules defined
Failure modes
Pre-commit hook bypassed; force-push succeeds via GitHub branch rule misconfiguration
Trust signals
- · redis/RedisInsight
- · explicit protected branch rules