Skip to content

Add pre-commit hook integration to prevent stale branch creation #4

@404-Page-Found

Description

@404-Page-Found

Provide a pre-commit hook or git hook integration that warns users when they're about to create a branch that matches patterns likely to become stale.

Acceptance Criteria

  • Add git-broom hook install command to set up git hooks
  • Warn on branch creation if name matches stale patterns (e.g., no ticket number, no prefix)
  • Configurable branch naming rules in .gitbroomrc
  • Allow bypass with force flag
  • Support pre-push hook to warn before pushing stale branches

Metadata

Metadata

Labels

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions